We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
7e7d9e5
当使用GO 标准库 encoding/json 解析动态JSON 的时候,我们将结果解析为 map[string]interface{}。
encoding/json
map[string]interface{}
而 GO map 类型的key 是无序的,也就是说你不能确定JSON key 的先后顺序。
map
如果你需要确定 JSON key 的顺序,可以使用 jsonkeys 包。
jsonkeys