I have a JSON string like:
{
"result":
{
"event": {"date": "12/12/13", "desc": "test1"},
"event": {"date": "12/12/14", "desc": "test2"},
"event": {"date": "12/12/15", "desc": "test3"}
},
"result":
{
"event": {"date": "12/12/13", "desc": "test5"},
"event": {"date": "12/12/14", "desc": "test6"},
"event": {"date": "12/12/15", "desc": "test7"}
}
}
I want to get all dates and descriptions of each event in all results, how to do it?
{ }to[ ]and delete the lines that say"result":. Now you have a valid JSON list that you can import and process.jsonmodule, but also will not get all the values.