pretty-json icon indicating copy to clipboard operation
pretty-json copied to clipboard

Feature Request: Add support for JSONL

Open jeffdupont opened this issue 7 years ago • 2 comments

A JSONL file has a new JSON object on each line. It would be nice if support for this was added. It could read the file line by line, avoiding empty lines, and formatting each object using the current prettifier. If a line is invalid JSON, then the parsing error can be thrown.

I've been coming across a lot more files of this type where they're not provided as a JSON array, but formatted line by line for consumption.

jeffdupont avatar Apr 06 '17 20:04 jeffdupont

Interesting. Yeah that shouldn't be too hard to support.

lexicalunit avatar Apr 07 '17 03:04 lexicalunit

+1 vote for this feature

jthornbrue avatar Aug 28 '18 21:08 jthornbrue