JSON
JSON articles: the syntax, JSON vs XML and YAML, parsing in JavaScript and Python, JSONPath, Schema with OpenAI, and building APIs on Cloudflare Workers.
What is JSON? A Complete Guide for Developers
JSON is the universal language of modern APIs and config files. Learn the six data types, syntax rules, and why JSON became the format that ate the web.
Read article → Apr 10, 2026 · 6 min readJSON vs XML: Which Should You Use?
Both formats represent structured data, but they serve very different purposes. A practical breakdown with side-by-side examples and a clear decision guide.
Read article → Apr 10, 2026 · 6 min readJSON vs YAML: Differences Explained
JSON vs YAML: JSON is strict and predictable, YAML easier on the eye but full of type coercion surprises. When to pick each, and gotchas from real outages.
Read article → Apr 10, 2026 · 8 min readHow to Parse JSON in JavaScript (The Right Way)
JSON.parse() and JSON.stringify() are deceptively simple. Learn error handling, optional chaining, what stringify silently drops, and real-world fetch patterns.
Read article → Apr 10, 2026 · 7 min readHow to Read and Write JSON in Python
Python's json module ships with everything you need, so there is nothing to pip install. Covers json.loads, json.dumps, file I/O, custom encoders and errors.
Read article → Apr 17, 2026 · 9 min readJSONPath: How to Query JSON Data
JSONPath guide: the query syntax for pulling values out of JSON, like XPath for XML, with filters and wildcards tried on real data in JavaScript and Python.
Read article → Apr 17, 2026 · 10 min readCloudflare Workers and JSON: A Practical Guide
Cloudflare Workers JSON patterns past the toy stage: parsing request bodies safely, CORS headers, proxying an upstream API, and caching responses at the edge.
Read article → Apr 17, 2026 · 10 min readUsing JSON Schema with OpenAI Structured Outputs
JSON Schema with OpenAI Structured Outputs: design schemas the model must follow, turn on strict mode, handle refusals, and stop stripping markdown fences.
Read article → Apr 17, 2026 · 11 min readHow to Reliably Parse JSON from LLM Responses
Parse JSON from LLM responses reliably. Models break it five ways: code fences, commentary, truncation, invented keys, wrong types. Here are the fixes.
Read article → Apr 17, 2026 · 11 min readJSON REST API Response Design: Best Practices That Actually Hold Up
REST API JSON response design: RFC 7807 error bodies, pagination, nulls versus missing fields, dates, field naming and versioning, plus anti-patterns.
Read article → Oct 15, 2025 · 8 min readDeploy a JSON API on Cloudflare Workers in 10 Minutes (No Credit Card)
Deploy a JSON API on Cloudflare Workers in ten minutes with no server, Dockerfile or credit card, on the free tier, ending with a real validating endpoint.
Read article →