Skip to content

Commit 625c6db

Browse files
authored
Merge pull request #1 from Zac-Garby/patch-1
Fix typo
2 parents 5fbe04c + 0302ab7 commit 625c6db

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)