I simply want to remove the parent in a big array whitout creating mute rname rules for all felds.
This is what i have now.
"timestamp": "2019-07-12T15:37:06.516Z",
"foo": {
"bar": {
"number": "one"
}
},
"value1": "1",
"result": {
"value2": "nr1",
"value3": {
"state": "new",
"foo1": "bar",
"foo2": "bar2"
},
"value234": "1323"
}
And what i want is:
"timestamp": "2019-07-12T15:37:06.516Z",
"foo": {
"bar": {
"number": "one"
}
},
"value1": "1",
"value2": "nr1",
"value3": {
"state": "new",
"foo1": "bar",
"foo2": "bar2"
},
"value234": "1323"
What is the best and simplest way to this?