Is there a way to convert a json that looks like this:
{
"id": "1",
"object": [{
"object_1": "hi",
"object_2": "hello"
},
{
"object_1": "hello",
"object_2": "hi"
}]
}
Into something where I can store within each dictionary the parent id without having to change the names like this?
{
"id": "1",
"object_1": "hi",
"object_2": "hello"
},
{"id": "1",
"object_1": "hi",
"object_2": "hello"
}