Skip to content

Commit

Permalink
Merge pull request #45 from realzhili/update-readme
Browse files Browse the repository at this point in the history
Add example for array type
  • Loading branch information
tidwall authored Apr 2, 2021
2 parents 0821062 + f66b25b commit c052998
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ sjson.Set(`{"key":true}`, "key", false)
sjson.Set(`{"key":true}`, "key", 1)
sjson.Set(`{"key":true}`, "key", 10.5)
sjson.Set(`{"key":true}`, "key", "hello")
sjson.Set(`{"key":true}`, "key", []string{"hello", "world"})
sjson.Set(`{"key":true}`, "key", map[string]interface{}{"hello":"world"})
```

Expand Down

0 comments on commit c052998

Please sign in to comment.