JSON Parse Tool

The JSON Parse tool separates Java Script Object Notation text into a table schema for the purpose of downstream processing. It can be built back up into usable JSON format by feeding the output into the JSON Build Tool.

Configure the tool

JSON Field: Select the fields that holds Java Script Object Notation text. The field must contain valid JSON with all the text for a record in a single cell. See the example below.

Include in Output: The selected column is included in the data stream coming out of the tool.

Choose how the JSON gets parsed. Choices include:

  • Output values to a single field: Two fields are output, JSON Name and JSON_ValueString. Looking at the input example above, the following data comes out of the tool:
  • Output values into data type specific fields: Five fields are output.

Field Name

Description

JSON_Name

The JSON_Name is the 'key' of a  JSON Object (key:value pair). A dot separates the key and any hierarchical categories.

JSON_Value String

The corresponding string 'value' of the JSON Object (key:value pair). If the value is not a string, it will display as [Null].

JSON_ValueInt

The corresponding integer 'value' of the JSON Object (key:value pair). If the value is not an integer, it will display as [Null].

JSON_ValueFloat

The corresponding float 'value' of the JSON Object (key:value pair). If the value is not a float, it will display as [Null].

JSON_ValueBool

The corresponding bool 'value' of the JSON Object (key:value pair). If the value is not a bool, it will display as [Null].