Question

5
Replies
642
Views
Close popover
Kannan Ramasamy (KannanR6)
Cognizant Technology Solutions

Cognizant Technology Solutions
US
KannanR6 Member since 2018 2 posts
Cognizant Technology Solutions
Posted: January 9, 2019
Last activity: April 25, 2019
Closed

JSONUTIL Deserialize Object with multi layer JSON input.

I have a Jsonstring with Multichild releation and trying to Deserialize the object and assigning to datatable using jsonutil. But JSONUTIL not deserilize the string .

Is it possible to deserialize multilayer jsonstring in JSONUTIL? if yes do we have any example .

Json Format

{
  "firstName": "John",
  "lastName": "Smith",
  "isAlive": true,
  "age": 27,
  "address": {
    "streetAddress": "21 2nd Street",
    "city": "New York",
    "state": "NY",
    "postalCode": "10021-3100"
  },
  "phoneNumbers": [
    {
      "type": "home",
      "number": "212 555-1234"
    },
    {
      "type": "office",
      "number": "646 555-4567"
    },
    {
      "type": "mobile",
      "number": "123 456-7890"
    }
  ],
  "children": [],
  "spouse": null
}
Robotic Process Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.