I am trying to parse a JSON array by using the json codec
. I have been looking at split. But all the examples assume that the array is within a JSON object. But in my situation, the array is not within an object.
The data comes in the following structure but on a single line:
[
{
"prop1": "value1",
"prop2": "value2",
"prop3": "value3"
},
{
"prop1": "value1",
"prop2": "value2",
"prop3": "value3"
}
]