{
  "slug": "newline-delimited-json",
  "term": "Newline-delimited JSON",
  "aliases": [
    "NDJSON",
    "Newline delimited JSON"
  ],
  "definition": "Newline-delimited JSON stores or transmits a sequence of UTF-8 JSON values separated by line endings.",
  "note": "NDJSON: Version 1.0.0 requires LF after each value, optionally preceded by CR, and prohibits literal CR/LF inside a JSON text. Parsers accept LF and CRLF; ignoring empty lines must be documented and should be configurable. [ndjson-spec]\n\nJSON Lines: This closely related convention allows any JSON value on a line, rejects blank lines and recommends rather than requires a final line terminator. Do not assume identical edge-case contracts. [json-lines-format]\n\nScope: Neither convention requires object-only records. Escaped newline sequences inside strings do not create physical record boundaries. [ndjson-spec] [json-lines-format]",
  "related": [
    "data-serialization",
    "json-text-sequence"
  ],
  "citations": [
    {
      "id": "ndjson-spec",
      "title": "NDJSON specification 1.0.0, serialization and parsing, sections 3.1-3.3",
      "url": "https://github.com/ndjson/ndjson-spec/blob/8a5a2350ff95fd356993b827f63c5733a9d4f1a6/README.md",
      "accessed": "2026-11-21"
    },
    {
      "id": "json-lines-format",
      "title": "JSON Lines: UTF-8, JSON values and line terminators",
      "url": "https://jsonlines.org/",
      "accessed": "2026-11-21"
    }
  ],
  "status": "unknown",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-21",
  "provenance": [
    "Specification synthesis, not a parser conformance study or a crash-recovery experiment."
  ]
}
