Manually – but I would not do that • Convert Json to Xml and read with XmlPort and/or DOM Codeunit 6224 • Use JsonTextReader to read Json to a buffer table (Json Buffer, 1236) • Use JObject DotNet to read Json Json readers
{ "firstName": "Oscar", "lastName": "Smith", "gender": "man", "age": 76, "address": { "streetAddress": "999 Udhna", "city": "ASurt", "state": "GJ", "postalCode": "254221" }, "phoneNumbers": [ { "type": "home", "number": "7383627627" } ] }
Answers
https://forum.mibuso.com/discussion/comment/325897#Comment_325897
Regards
For this type of JSON reply
I used the following code:
Note: Variable counter in this case is always 0 (zero)