请问以下,哪些是json格式的数据
Java code
1、{["a","b","c"],["d","e","f"],["g","h","i"]}
2、{"1":{["a","b","c"],["d","e","f"],["g","h","i"]}}
3、{{"1":["a","b","c"]},{"2":["d","e","f"]},{"3":["g","h","i"]}}
------解决方案--------------------只有第3个是json
1、2中的对象(即{}中间的内容),没有属性名
js中对象一般是 var obj = {name:'name',age:18} 类似这样
------解决方案--------------------
------解决方案--------------------
------解决方案--------------------4 错误 "1"属性后的["d","e","f"]没有属性名
5 正确,多个数组对象
6 正确 对象有个属性,且属性的值为一个数组
------解决方案--------------------
------解决方案--------------------