Skip to main content

Convert JSON to Text

Command description​

Converts a JSON-serializable object to text.

Command Input Parameters​

input parametersInput parameter typeDescription
JSON ObjectanyJSON-serializable object to convert

Command Output Parameters​

Output parametersOutput parameter typeDescription
TextstrSerialized JSON text

Note​

This command uses json.dumps(..., ensure_ascii=False). Dictionaries, lists, numbers, Boolean values, and None are supported. A plain string is serialized as a quoted JSON string.

AI Workflow Generation Notes​

  • Serialize the object as text. To access its JSON fields later, convert the text back to a JSON object.