Open
Description
From json-ld/yaml-ld#63, there are at least three different formats that could serve as the basis for this work:
- NDJSON – newline delimited JSON, which prohibits the use of newlines within a given record. Media type is specified as
application/x+ndjson
, which is not recommended. It purports to be a living spec. Previous support for comments between records, now removed. - JSON Lines – the basis from which NDJSON was forked. Apparently not intended as a spec. No suggested media type, although issue comments suggest
application/x+jsonlines
andapplication/x-json-stream
. Otherwise, virtually indistinguishable from NDJSON. - LDJSON – Aside from the obvious confusion of LDJSON-LD, I can't find anything definitive other than the Wikipedia entry.
- JSON Text Sequences – RFC7464 – This has the obvious advantage of being an RFC with a registered media type
application/json-seq
. Allows newlines within JSON records, but requires records be proceeded by an ASCII Record Separator (%x1E). A disadvantage is that this is not as amenable to presentation or editing by a common text editor.
Metadata
Metadata
Assignees
Labels
No labels