Index value of Array

前端 未结 7 1711
眼角桃花
眼角桃花 2021-01-12 08:56

I have a json file with contents like this:

{
     \"aaa\":{
         \"status\":\"available\",
         \"classkey\":\"dotnet\"
     },
     \"bbb\":{
              


        
7条回答
  •  长发绾君心
    2021-01-12 09:26

    Never used JSON, but according to http://labs.adobe.com/technologies/spry/samples/data_region/JSONDataSetSample.html#Example1 , it's possible to create an ordered array. Just remove the key and colon in your key-value pairs. (Someone please tell me whether this works - it may be dependent on values being defined in all objects, or it may allow null columns).

提交回复
热议问题