mirror of
https://github.com/json-iterator/go.git
synced 2025-03-23 21:09:11 +02:00
example unmarshal
This commit is contained in:
parent
3cf822853f
commit
2608d40f2a
@ -27,7 +27,7 @@ func ExampleMarshal() {
|
||||
// {"ID":1,"Name":"Reds","Colors":["Crimson","Red","Ruby","Maroon"]}
|
||||
}
|
||||
|
||||
func ExampleUnMarshal() {
|
||||
func ExampleUnmarshal() {
|
||||
var jsonBlob = []byte(`[
|
||||
{"Name": "Platypus", "Order": "Monotremata"},
|
||||
{"Name": "Quoll", "Order": "Dasyuromorphia"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user