Lines to a JSON array
Turn a pasted list into a valid JSON array of strings.
Paste one item per line and get a JSON array back — double-quoted, fully escaped and valid against the JSON specification, so it can go straight into a request body, a fixture file or a config value. Quote style and escaping options do not apply here: JSON has exactly one correct form and this always emits it.
A trailing comma is also skipped, because it is invalid JSON no matter what your code style says elsewhere. Characters that need escaping — quotes, backslashes, tabs — are handled for you.
Questions
Build your own chain in the pipeline builder.