Skip to main content
Version: 2.11

Json To String

Transform a JSON Object to a JSON String

Description

Transform a JSON Object to a JSON String and prettify the JSON string using a number of spaces for indenting purposes.

Inputs

  • Control Flow (Control Flow)
  • source (Object): JSON object or string
  • spaces (Number): Indicates the number of space characters to use as white space for indenting purposes. Values less than 1 indicate that no space should be used

Outputs

  • Control Flow (Control Flow)
  • result (String): JSON string
  • Error Flow (Error Flow): Triggered by providing incorrect json