You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Calling MCS API from MAF, and unable to convert JSON Response String with List of objects into of

Received Response
19
Views
2
Comments
edited Aug 24, 2017 7:00AM in Digital Assistant and Mobile 2 comments

Summary

Calling MCS API from MAF, and unable to convert JSON Response String with List of objects into [] of POJO objects

Content

Below Code Snippet shows the logic I am trying to derive POJO objects [] from the JSON Response string. The statements inside the FOR loop are not printing and the value returned doesn't have any data in them.

Kindly help on this, as I am stuck with this issue for an entire day. I used the same steps as per the Depts - Emps tutorials to access REST-JSON Services.

Also a similar API returning a single JSON object works fine and I am able to show the data from that JSON Response on the MAF AMX Page.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!