How to parse Nested JSON response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2020 03:51 AM
Hi All,
Please help me with JSON parsing.
Below is the response body:
I am Parsing the response through Flow designer script, and i am able to parse and fetch the "name" value in the above response. But I am unable to parse the underlined text (href).
Below is the script.
var result = JSON.parse(inputs.response);
gs.info("Name is:"+ result[0].name);
Please help me with this .
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2020 03:53 AM
Here is a good thread you can use:
https://community.servicenow.com/community?id=community_blog&sys_id=aedbb9e8dbafbb805ed4a851ca9619ba

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2020 04:51 AM
As
Cheers,
Joro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2020 02:28 AM