I'm having trouble inserting one object into another. My JSON object is multidimensional, like this:
{
"item1":{
"key":"Value",
"key":"Value"
},
"item2":{
"key":"Value",
"key":"Value"
},
"item3":{
"key":"Value",
"key":"Value",
"subItem3":{
"key":"Value",
"key":"Value"
}
}
}
I need to insert item3 into item2 like this:
{
"item1":{
"key":"Value",
"key":"Value"
},
"item2":{
"key":"Value",
"key":"Value",
"item3":{
"key":"Value",
"key":"Value",
"subItem3":{
"key":"Value",
"key":"Value"
}
}
}
}
If you have any advice on how to accomplish this, I would greatly appreciate it.