i have this json file what i want to do is if json has 1 arrays in it then i should be able to do 2x of that i.e duplicate them below is an example how to do that
so i want to double the endcustomer array that is there
{
“Fruits”:[
{
“id”:“12”,
“uid”:"“a12”,
“proid”:“z12”,
“endCustomer”:[
{
“endCid”:“132”,
“name”:“test1”,
“orderid”:“zt980”
“Order”:[
{
“address”:“addres 123 d”,
“fruitname”:“grape,apple”,
}
]
}]
}]
}