摘要: 使用 Golang 解析 JSON 格式数据时,若以 interface{} 接收数字成员,则会按照下列规则进行解析,可见 使用 Golang 对 JSON 结构进行解析(unmarshal)时,JSON 结构中的数字会被解析为 float64 类型: bool, for JSON booleans 阅读全文
posted @ 2020-06-04 10:19 GopherStudy 阅读(4102) 评论(0) 推荐(0) 编辑