Hi Aditya,

I'm bit confused.
Where you trying to achieve this? can you mention the WSO2 product that you
are using?

Thank you,

On Tue, Jan 23, 2018 at 8:57 PM, aditya shivankar <
[email protected]> wrote:

> 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
>
>


-- 
Nipuna Marcus
*Senior Software Engineer*
WSO2 Inc.
http://wso2.com/ - "lean . enterprise . middleware"
Mobile : +94 (0) 713 667906
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to