How to parse JSON file in a discovery pattern
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2018 01:21 AM
How do I parse a JSON file with a "Parse file" operation? I cannot find any example on docs site.
Example:
{
"stuff": {
"onetype": [
{"id":1,"name":"John Doe"},
{"id":2,"name":"Don Joeh"}
],
"othertype": {"id":2,"company":"ACME"}
},
"otherstuff": {
"thing": [[1,42],[2,2]]
}
}
Labels:
- Labels:
-
Discovery
-
Service Mapping
7 REPLIES 7

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2018 01:40 AM
HI,
User JSON.Parse
Thanks,
Ashutosh Munot
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2018 01:57 AM
Example?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2018 01:42 AM
Hi,
Refer below URL:
https://docs.servicenow.com/bundle/kingston-it-operations-management/page/product/service-mapping/task/t_ParseFilePatDef.html
Regards,
Narayan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2018 01:57 AM
More specifically?