Respected sir,
I have a response big json response from one backend service.
Suppose the response is in my payload.
I am running the loop on Children element of this payload.
I want to extract two values in each loop, say name and price and keep it
in an property. Say like below
[{
"name":"mobile",
"price":"1000"
}]
I am not able to create a array inside property like this.
then in the second loop , when I extaxct two new values for name(say
"bottle") and price(say "50"). I want to add them to my property as follows
[
{
"name":"mobile",
"price":"1000"
},
{
"name":"bottle",
"price":"50"
}
]
I am not add this new element to the existing array.
Please guide.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev