badkaktus 1660a57d5f json
2019-10-09 21:58:24 +03:00

21 lines
545 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$ go run json.go
true
1
2.34
"gopher"
["apple","peach","pear"]
{"apple":5,"lettuce":7}
{"Page":1,"Fruits":["apple","peach","pear"]}
{"page":1,"fruits":["apple","peach","pear"]}
map[num:6.13 strs:[a b]]
6.13
a
{1 [apple peach]}
apple
{"apple":5,"lettuce":7}
# Мы рассмотрели основы JSON в Go, но ознакомьтесь с
# публикацией в блоге [JSON and Go](http://blog.golang.org/2011/01/json-and-go.html)
# и документацией по [пакету JSON](http://golang.org/pkg/encoding/json/).