Tagged articles

NDJSON

2 articles · Page 1 of 1
Code Mala Tang
Code Mala Tang
Feb 21, 2026 · Backend Development

10 Common Pitfalls When Streaming JSON in Node.js and Safer Patterns

This guide enumerates ten frequent traps encountered when streaming JSON in Node.js—such as assuming one chunk per object, UTF‑8 split issues, missing newline delimiters, back‑pressure overload, and handling of large numbers—and presents reliable patterns like using NDJSON framing, StringDecoder, pipeline, and proper error handling to avoid data loss and memory spikes.

BackpressureNDJSONNode.js
0 likes · 13 min read
10 Common Pitfalls When Streaming JSON in Node.js and Safer Patterns
Hacker Afternoon Tea
Hacker Afternoon Tea
Aug 10, 2024 · Databases

Exploring ClickHouse’s Multiple Approaches to JSON Processing

This guide outlines ClickHouse’s various techniques for loading, inferring schemas, designing, exporting, and handling different JSON formats—including NDJSON and advanced modeling—while noting the upcoming native JSON type that will replace the deprecated Object Data Type.

ClickHouseData ExportNDJSON
0 likes · 3 min read
Exploring ClickHouse’s Multiple Approaches to JSON Processing