Square Brackets for array in json request are not coming.
Hi all,
I am new in talend i have faced one problem how i should sent a request json format. my job design is like that
tFixedFlowInput----->tXMLMap---->tRestClient----->tLogRow
when i try to run this job i got following output
Payload: {"Id":"1","name":"jems","number":"256","location":{"city":"quatar"}}
but i want output like that Payload: {"Id":"1","name":"jems","number":"256","location":}
I mention my job screenshot . please let me know as soon as possible...
Thanks in advance
Sanjay kg
Hi
It doesn't add the square brackets for the array if there is only one item, I am not sure if it is a bug or not for different cases, maybe an option can be added to the component, I would like you to report a issue on our bugtracker.
Best regards
Shong
Hi Shong
Have we added above mentioned option (
add the square brackets for the array) in component ? Currently i am using 5.5.1 version of TOS.
Thanks
Vipin