.NDJSON File Extension
Newline Delimited JSON File
3.2 | 5 Votes
What is an NDJSON file?
An NDJSON file is a JSON file created in the Newline Delimited JSON (NDJSON) format. It contains plain text used to describe structured data. NDJSON files are used primarily to stream structured data that should be processed one record at a time.
NDJSON is a JSON variant that allows developers to store structured data entries within one line of text, allowing the data to be streamed using protocols like TCP or UNIX Pipes. According to the format's website (ndjson.org), NDJSON works well with UNIX-style text processing tools and shell pipelines, is a great format for log files, and is a flexible format for passing messages between cooperating processes. NDJSON files are similar to .JSONL files.
How to open an NDJSON file
Because NDJSON files are plain text files, you can open them in any text editor, including: