Hi,

If the product you are using is WSO2 ESB or EI the stackoverflow[1]
question might help. If you need more help please explain your complete use
case with the synapse configuration used.

[1]
https://stackoverflow.com/questions/41883496/combining-multiple-json-arrays-using-wso2-aggregator

Thanks,
Riyafa

On Wed, Jan 24, 2018 at 9:58 AM, Nipuna Chandradasa <[email protected]>
wrote:

> 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 <+94%2071%20366%207906>
> [email protected]
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Riyafa Abdul Hameed
Software Engineer, WSO2 Lanka (Pvt) Ltd <http://wso2.com/>

Email: [email protected] <[email protected]>
Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
<http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
<http://twitter.com/Riyafa1>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to