I have got a JSON structure similar to below:
{
"MyApp": "2.0",
"info": {
"version": "1.0.0"
},
"paths": {
"MyPath1": {
"Key": "Value"
},
"MyPath2": {
"Key": "Value"
}
}
}
Within paths there could be a variable number of MyPath keys. I want to break this structure into something like below:
JSON 1:
{
"MyApp": "2.0",
"info": {
"version": "1.0.0"
},
"paths": {
"MyPath1": {
"Key": "Value"
}
}
}
JSON 2:
{