Reads a list from a JSON array or from text with one item per line (commas and spaces also separate).
an array, a string, or nothing
the trimmed, non-empty items
Reads a list from a JSON array or from text with one item per line (commas and spaces also separate).