NDJSON Decoder for Python

JSON →
library 0.3.1 ·python
verified May 21, 2026

The `ndjson` library for Python, currently at version `0.3.1`, provides a `JsonDecoder` and `JsonEncoder` for newline-delimited JSON (NDJSON), also known as JSON Lines. It offers a familiar interface similar to Python's built-in `json` module, enabling efficient reading and writing of NDJSON data to and from file-like objects and strings. This lightweight library has no external dependencies and is particularly useful for processing large datasets or streaming applications where each line represents a complete, independent JSON object. Although its last release was in 2020 and its PyPI status is 'Pre-Alpha', it is considered stable and functional for its stated purpose.

total hits 17
actors 7 distinct systems
last hit 3d ago Googlebot
GPTBot
2
Script
2
ClaudeBot
1
Search engines
2

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany