JSON Toolkit

Performance and Security

A JSON file of tens of megabytes can freeze the main thread, and carefully crafted JSON can punch through a service; this category covers both throughput and defenses.

6 articles

Articles in this category

Parsing, Rendering, and Streaming Large JSON

Parsing is often not the bottleneck; rendering and copying are. Optimize along the four layers "parse → traverse → render → transport" so your effort is not wasted.

Intermediate~13 min readUpdated 2026-10-31

Security Risk Checklist for JSON Processing

JSON.parse itself is safe; the danger is what happens after it: deep merging, assignment by path, inlining into HTML, unlimited depth and size.

Intermediate~12 min readUpdated 2026-10-30

Large JSON File Won't Open? Pick the Right Tool by Size

A multi-megabyte JSON export often freezes text editors and online viewers, yet parsing it takes only a few hundred milliseconds. We benchmarked a 45 MB, 500,000-record sample to measure time and memory at each stage, show why line count and node count are the real cost, and provide a size-based tool decision table covering online viewing, command-line extraction, streaming, and desktop apps.

Advanced~6 min readUpdated 2026-11-07