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

30th Jan 2020, 12:50 PM
𝖆𝖙.đ–šđ•·
𝖆𝖙.đ–šđ•· - avatar
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.
30th Jan 2020, 1:14 PM
Gordon
Gordon - avatar