Skip to content

JSON File

Reference


Reads and writes data from a JSON file.

Categories: [helpers]

Version: 1


Actions

Read from file

Reads data from a JSON file.

Properties

NameTypeControl TypeDescription
File TypeSTRINGSELECTThe file type to choose.
FileFILE_ENTRYFILE_ENTRYThe object property which contains a reference to the JSON file to read from.
Is ArrayBOOLEANSELECTThe object input is array?
PathSTRINGTEXTThe path where the array is e.g ‘data’. Leave blank to use the top level object.
Page SizeINTEGERINTEGERThe amount of child elements to return in a page.
Page NumberINTEGERINTEGERThe page number to get.

Write to file

Writes the data to a JSON file.

Properties

NameTypeControl TypeDescription
File TypeSTRINGSELECTThe file type to choose.
TypeINTEGERSELECTThe value type.
Source{}OBJECT_BUILDERThe object to write to the file.
Source[]ARRAY_BUILDERThe array to write to the file.
FilenameSTRINGTEXTFilename to set for binary data. By default, “file.json” will be used.

Output

Type: FILE_ENTRY

Properties

TypeControl Type
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT