Skip to main content
Jeremias Meister - Tools & Pipeline

Action Data

JSON Parser

Reads or writes JSON files. In read mode, parses JSON from file. In write mode, writes JSON data to file with optional pretty formatting.

Node IDJsonParserAction

Parameters

ParameterTypeRequiredDefaultDescription
Mode mode enum
  • Read
  • Write
Yes Read Whether to read from or write to a JSON file.
File Path filePath file_picker Yes — The path to the JSON file to read from or write to.
Data to Write data textarea No — JSON data to write to file (only used in Write mode). Can be set by a data connection.
Pretty Print prettyPrint boolean No true If true, formats the JSON with indentation (only used in Write mode).
Overwrite Existing overwrite boolean No false If true, overwrites an existing file when writing (only used in Write mode).

Inputs

InputTypeRequiredDescription
Execute input0 object Yes Triggers the JSON operation.

Outputs

OutputTypeIdentifierDescription
Result output0 object json_data In Read mode, contains the parsed JSON data. In Write mode, contains the file path.