Skip to content
Novus Examples
ndjson170 B

NDJSON Stream

A newline-delimited JSON (NDJSON) stream of event records — for testing streaming JSON parsers.

Preview — first 5 linesndjson
{"id":1,"event":"page_view","path":"/"}
{"id":2,"event":"click","target":"download"}
{"id":3,"event":"page_view","path":"/about"}
{"id":4,"event":"search","query":"csv"}

Specifications

What is a .ndjson file?

NDJSON (Newline-Delimited JSON) is a streaming format where each newline-separated line is a standalone JSON object, functionally equivalent to JSON Lines. It enables incremental processing of large datasets and streaming APIs. Each record is parsed independently of the rest.

How to use this file

Use an example NDJSON to test streaming ingestion, chunked HTTP or API response parsing, and tools that process records incrementally without loading the full file.

Generated by generation/data_formats.py. Free for any use, no attribution required — license.