vue-json-editor
vue-json-editor copied to clipboard
JSON数据为什么会按字母排序
输入的JSON为 { "cc": "cc", "aa": "aa" }
获取的数据为{ "aa": "aa", "cc": "cc" }
json的object本身是无序的 可以了解下json数据格式
https://www.rfc-editor.org/rfc/rfc7159.html
An object is an unordered collection of zero or more name/value
pairs, where a name is a string and a value is a string, number,
boolean, null, object, or array.