This list of JSON actions allows you to create, parse, and convert JSON to strings.

Create JSON object

Creates a JSON object. This is especially useful to reuse its content in other actions of the flow.

Input settings

ParameterDescription
BodyThe JSON object.

Output object

PropertyTypeDescription
resultObjectThe JSON object.

Output object example

{
	"result": {
		"name": "John Doe"
	}
}

Parse JSON

Parses a JSON object contained in a text string into a JSON object.

Input settings

ParameterDescription
JSON string (required)The JSON string.

Output object

PropertyTypeDescription
objectObjectThe parsed JSON object.

Output object example

{
  "object": {
    "name": "John Doe"
  }
}

Convert JSON to string

Converts a JSON object to a string.

Input settings

ParameterDescription
JSON object (required)The JSON object that will be serialized to a string.

Output object

PropertyTypeDescription
jsonStringThe serialized JSON object.

Output object example

{
  "json": "{\"name\":\"John Doe\"}"
}