Split a text file into pieces (by line, blank-line paragraph, or a custom delimiter) and save the pieces as a JSON array.
Inputs
Name
Type
Required / default
Values and notes
file
path
required
mode
enum
optional, default lines
linesparagraphsdelimited
delimiter
string
optional, default ""
strip
bool
optional, default true
drop_empty
bool
optional, default true
out
path
optional, default ""
Outputs
Name
Type
Notes
data
json
items
int
file
path
JSON to text
json_to_text
Join a JSON array of strings back into a text file (by line, blank-line paragraph, or a custom delimiter). Any other JSON shape is pretty-printed as readable text instead.