You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docs demonstrate parsing multi-line entries (but this is not valid input according to spec?)
That said NDJSON does have an official spec where JSONL does not yet? 🤷♂️
It's implied that NDJSON is considered valid in multiline context due to this yq docs example. However that appears to be against spec? (related discussion). As noted by the June 2015 table and the spec, only empty lines are considered valid (optional), but a JSON document should be self-contained within a single line?
If updating docs to refer to JSONL instead, the example like NDJSON isn't considered valid, but the example could remain; It should just mention while it's not valid to the format, yq supports multi-line JSONL entries?
The text was updated successfully, but these errors were encountered:
Related feature requests + implementation:
Describe the bug
At a glance, it seems that JSONL is more relevant format than NDJSON?
yq
docs may want to update to reflect that?jsonlines.org
.ndjson
maintainer activity being low.application/jsonl
mime type.Docs demonstrate parsing multi-line entries (but this is not valid input according to spec?)
That said NDJSON does have an official spec where JSONL does not yet? 🤷♂️
It's implied that NDJSON is considered valid in multiline context due to this
yq
docs example. However that appears to be against spec? (related discussion). As noted by the June 2015 table and the spec, only empty lines are considered valid (optional), but a JSON document should be self-contained within a single line?If updating docs to refer to JSONL instead, the example like NDJSON isn't considered valid, but the example could remain; It should just mention while it's not valid to the format,
yq
supports multi-line JSONL entries?The text was updated successfully, but these errors were encountered: