-
-
Notifications
You must be signed in to change notification settings - Fork 18
Description
JSON Lines is a convenient format for storing structured data that may be processed one record at a time. It works well with unix-style text processing tools and shell pipelines. It's a great format for log files. It's also a flexible format for passing messages between cooperating processes.
sample.json from https://jsonlines.org/examples/
(using .json extension so that GitHub accepts it, but behavior is the same with .jsonl)
When opening a JSON Lines document, it works, but it shows an error at the top:
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 2 column 1 of the JSON data
Moreover the opening brace of each "line" is shown at the end of the previous "line", causing issues with the collapsing.
It would be nice to improve the handling of those files.
