Get JSON Document Data Step
Use the Get JSON Document Data step after the Create JSON Document step to obtain data from a document formatted with JSON. This step needs a JSON Document as an input and then uses JSON path expressions to parse the content and extract data elements. Use Create JSON Document to create a JSON document.
-
int
-
int[]
-
short
-
short[]
-
long
-
long[]
-
float
-
float[]
-
double
-
double[]
-
boolean
-
boolean[]
-
string
-
string[]
-
Document (instance of JSON Document)
-
Document [] (Array of JSON Document instances)
-
For all array types, it will be an empty array.
-
For all other types, it will be null.
Note | JSON Path is a query language for selecting fields from a JSON document similar to how XPath is used for selecting nodes from an XML document. |
The following table describes the properties of the Get JSON Document Data customizer window:
Property |
Description |
---|---|
Document |
Document variable created as the Result Document in a preceding Create JSON Document step. |
JSON Path |
JSON path that defines a specific field or value in a JSON document. |
Result Data |
Document variable that contains the JSON data. |