Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0302ab7

Browse files
authoredSep 4, 2017
Fix typo
1 parent 5fbe04c commit 0302ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎migrate-from-go-std.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ group := ColorGroup{
1919
b, err := jsoniter.Marshal(group)
2020
```
2121

22-
Add `import "github.com/json-iterator/go"` and repalce `json.Marshal` with `jsoniter.Marshal`. Then the code should behave exactly the same, just much faster. Unlike easyjson or other json libaries, jsoniter does not rely on static code generation.
22+
Add `import "github.com/json-iterator/go"` and replace `json.Marshal` with `jsoniter.Marshal`. Then the code should behave exactly the same, just much faster. Unlike easyjson or other json libaries, jsoniter does not rely on static code generation.
2323

2424
`Unmarshal`, `NewEncoder`, `NewDecoder` they all works. Existing types implemented `Marshaler` or `Unmarshaler` interface will also work. Map with non-string key also work. Yes, everything just works.
2525

0 commit comments

Comments
 (0)
Please sign in to comment.