Object can contain any number of properties.
The “id” property is used as the ID of the object. If there is no such property, random IDs are created for each object.
[{
"id":"1",
"Name":"Dammann",
"Department":"Legal Department",
"Gender":"Male"
},{
"id":"2",
"Name":"Barby",
"Department":"Human Resources",
"Gender":"Female"
}]
The tags of the top and of the second level can have any name.
<data>
<item id="1">
<Name><![CDATA[Dammann]]></Name>
<Department><![CDATA[Legal Department]]></Department>
<Gender><![CDATA[Male]]></Gender>
</item>
<item id="2">
<Name><![CDATA[Barby]]></Name>
<Department><![CDATA[Human Resources]]></Department>
<Gender><![CDATA[Female]]></Gender>
</item>
</data>
There are no names for columns in JSArray's data, so they are auto-named: the first column is accessible as “data0”, the second one - as “data1”, etc. The IDs are auto-generated.
[["1", "Dammann", "Legal Department", "Male"],
["2", "Barby", "Human Resources", "Female"]]
There are no names for columns in CSV's data, so they are auto-named: the first column is accessible as “data0”, the second one - as “data1”, etc. The IDs are auto-generated.
"1", "Dammann", "Legal Department", "Male"
"2", "Barby", "Human Resources", "Female"
Back to top