diff --git a/eBook/12.9.md b/eBook/12.9.md index c9f65f0..b705d6a 100644 --- a/eBook/12.9.md +++ b/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 类型:只有验证通过的数据结构才能被编码: