Say I have this snippet from a large json file:
"name" : "thomas",
"data1": "{\"data\": {\"friends\":[{\"age\": 29, \"married\": yes]}
goes on and on
how would I split it like this instead:
"name" : "thomas",
"friends": "",
"age" : 29,
"married" : "yes"
I know how to split nested lists, but these aren't nested lists, and I can't find anything online about nested object (keys) like this. Thank you!