.NDJSON File Extension
Newline Delimited JSON File
Developer | ndjson |
Popularity |
3.1 | 8 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.
More Information
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:
- Microsoft Notepad (Windows)
- Apple TextEdit (Mac)
- Vim (Linux)
- GitHub Atom (cross-platform)
You can also open an NDJSON file in the Google Chrome and Mozilla Firefox web browsers by dragging and dropping the file into your browser window.