marjune 6 anni fa
parent
commit
6128a36b27
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      eBook/12.9.md

+ 3 - 3
eBook/12.9.md

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