Hi Shafreen,

Yes. This is JSON array.


Thanks
Godwin


On Tue, May 24, 2016 at 6:22 AM, Shafreen Anfar <[email protected]> wrote:

> Hi Godwin,
>
> On Mon, May 23, 2016 at 9:05 PM, Godwin Shrimal <[email protected]> wrote:
>
>> Hi All,
>>
>> I used Enrich Mediator to copy the original payload as follows.
>>
>> <enrich>
>>
>>     <source clone="true" type="body"/>
>>
>>     <target property="ORIGINAL_PAYLOAD" type="property"/>
>>
>> </enrich>
>>
>> Incoming JSON payload has multi-value attribute, But when multi-value
>> attribute has only one value, Enrich mediator convert the JSON payload it
>> as a single value attribute. Is this a known issue or do we have any work
>> around for this ?
>>
>
> When you say multi-value attribute do you mean json arrays ?
>
>
>>
>>
>> Thanks
>> Godwin
>>
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
>> twitter: https://twitter.com/godwinamila
>>
>
>
>
> --
> Regards,
> *Shafreen*
> Software Engineer
> WSO2 Inc
> Mobile : 077-556-395-1
>



-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to