Tag
#JSON
2 posts

November 5, 2025
TOON vs JSON: Supercharge Your LLM Prompts & Cut Token Costs
Token-Oriented Object Notation (TOON) is a compact, LLM-optimized alternative to JSON for serializing structured, mostly flat/tabular data. By removing repeated field names, quotes and redundant punctuation, TOON reduces token usage by roughly 30–60% in real-world AI workflows, leading to lower API bills, larger usable context windows, and often better model retrieval accuracy.

August 20, 2025
Deep Dive: V8's JSON.stringify Optimizations and Deterministic Output
JavaScript's JSON.stringify is fundamental for web developers, and V8 has dramatically improved its performance with new optimizations. This deep dive explores the traditional implementation bottlenecks, V8's new insertion-order-based serialization with fast-path optimizations, and provides practical guidance for leveraging these improvements at scale.