The command generates a list of all available JSON pointers (values’ paths) under a pre-defined parent node in the JSON tree. If the parent node is not found it will return an empty list. If empty, the command will generate JSON pointers for the entire JSON document, all as a string reference list.
0 |
Integer |
JSON File Handle |
The handle to the opened JSON file is returned by the “Open JSON File” MP command. |
1 |
String |
Parent JSON Pointer |
A starting node in the JSON tree to get all children |
2 |
String Ref List |
JSON Pointer List |
Returns a list of all available JSON pointers (values’ paths) under a pre-defined parent node in the JSON tree. |
SUCCESS |
The file was parsed successfully. |
FAILURE |
The file could not be found. |
“JSON Pointer is a standardized (RFC6901) way to select a value inside a JSON Document (DOM). This can be analogous to XPath for an XML document. However, JSON Pointer is much simpler, and a single JSON Pointer only pointed to a single value.” See more info RapidJSON: Pointer (https://rapidjson.org/md_doc_pointer.html).