Respected Sir,

I have two json in two properties :

say property1 has below jsonArray :

[
{
"name": Home insurance - 4 star,
"premium": 200.624
}
]


and property2  has below jsonArray :

{
"name": Mobile insurance - 4 star,
"premium": 0.0
}

I have to add json in property2 to jsonArray in property1 without
disturbing my current payload :

Desired output :

[
{
"name": Home insurance - 4 star,
"premium": 200.624
},
{
"name": Mobile insurance - 4 star,
"premium": 0.0
    }
]

Deired output has to be stored in property1.

I am not able to achieve this please guide.

With Regards,
Aditya
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to