JSON

The JSON component is an operator that allows users to manipulate and convert JSON objects. It can carry out the following tasks:

#Release Stage

Alpha

#Configuration

The component configuration is defined and maintained here.

#Supported Tasks

#Marshal

Convert JSON to a string

InputIDTypeDescription
Task ID (required)taskstringTASK_MARSHAL
JSON (required)jsonanyJSON input to be marshaled
OutputIDTypeDescription
JSON stringstringstringString representation of the JSON input

#Unmarshal

Convert a string to JSON

InputIDTypeDescription
Task ID (required)taskstringTASK_UNMARSHAL
String (required)stringstringJSON string to be unmarshaled
OutputIDTypeDescription
JSONjsonanyJSON object extracted from the string input

#jq

Process JSON through a jq command

InputIDTypeDescription
Task ID (required)taskstringTASK_JQ
JSON input (required)jsonInputstringJSON string to be processed
Filter (required)jqFilterstringFilter, in jq syntax, that will be applied to the JSON input
OutputIDTypeDescription
ResultsresultsarrayThe jq command results. Depending on the filter and the input JSON the type of each element may vary.

Last updated: 4/5/2024, 1:22:27 PM