Skip to content

The JSON Step model

JSON defines operation to parse or stringify values as JSON.

Stringify as JSON to variable

{
  "name": "Stringify_json",
  "json": {"foo":"bar"},
  "action": "stringify",
  "output": "jsonString"
}

The value will be stringified as "{\"foo\":\"bar\"}" and saved to variable jsonString.

Property Type Summary
name string The name of the job
json JsonAny The value to stringify
action JsonAny Action to do
output string Optional variable name to save the result
parameters ParameterModel[] Optional pipeline parameters
variables JsonObject Optional pipeline variables

Parse JSON to variable

{
  "name": "Parse_json",
  "json": "{\"foo\":\"bar\"}",
  "action": "parse",
  "output": "jsonObject"
}

The value will be parsed as {"foo":"bar"} and saved to variable jsonObject.

Property Type Summary
name string The name of the job
json JsonAny The value to parse
action JsonAny Action to do
output string Optional variable name to save the result
parameters ParameterModel[] Optional pipeline parameters
variables JsonObject Optional pipeline variables
Back to top