0
Split json inside [{json1},{json2}]
["{"name":"a","org":"eee","con1":"","con2":"","comment":"ee"}", "{"name":"b","org":"ee","con1":"","con2":"321312312","comment":"werqwe"}"] I have above array and i want to divide it into 2 different json and so i access each data by key , first will be {"name":"a","org":"eee","con1":"","con2":"","comment":"ee"} and the second will {"name":"b","org":"ee","con1":"","con2":"321312312","comment":"werqwe"} please help to solve this
1 Answer
+ 2
It is an array, the first json is first element and the second json is second element.
You can use array[index] to access each element.