Update 12.9.md (#662)

This commit is contained in:
marjune
2019-07-09 10:58:44 +08:00
committed by ᴊ. ᴄʜᴇɴ
parent e45628c48b
commit 6128a36b27

View File

@@ -104,9 +104,9 @@ func main() {
JSON 与 Go 类型对应如下: JSON 与 Go 类型对应如下:
- bool 对应 JSON 的 booleans - bool 对应 JSON 的 boolean
- float64 对应 JSON 的 numbers - float64 对应 JSON 的 number
- string 对应 JSON 的 strings - string 对应 JSON 的 string
- nil 对应 JSON 的 null - nil 对应 JSON 的 null
不是所有的数据都可以编码为 JSON 类型:只有验证通过的数据结构才能被编码: 不是所有的数据都可以编码为 JSON 类型:只有验证通过的数据结构才能被编码: