Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3022

Re: Adapter module or Java mapping to convert object into an array in JSON output

$
0
0

Hi Praveen

 

Unfortunately, the code is not working

 

I am not getting the node coming as Array with square brackets. It is coming as object only.

 

See the screen shots of the code and payload. Payload was taken from Postman

PayLoad.JPG

 

 

Code.JPG

 

First time, multiple Items are there 10 and 11, so it comes as an array.

Next time, only one item 0019 is there, so it comes as object with curly braces

 

Regards

 

Harish


Viewing all articles
Browse latest Browse all 3022

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>