Two standards for partial JSON updates compared: JSON Patch (RFC 6902) operations and JSON Pointer, JSON Merge Patch (RFC 7386) semantics, the null trap, array handling, and when to use each with HTTP PATCH.
A guide to converting between JSON and YAML: how the data models map, multi-line strings and anchors, the gotchas that bite, and how to convert both directions without corrupting your config.
Stop fighting malformed model output. Learn why LLMs produce broken JSON, the reliability ladder from prompting to constrained decoding, how native structured outputs work in 2026, and how to validate and repair the rest.
Understand the JSON supersets: what JSONC and JSON5 add over standard JSON, when to use each, the tooling that supports them, and how to convert them back to strict JSON.
Master JSONPath, the query language for JSON standardized in RFC 9535. Learn root, wildcard, recursive descent, array slices, filter expressions, and functions, with practical examples and tool tips.
A practical comparison of JSON, YAML, and TOML for configuration: readability, type safety, comments, the YAML gotchas, and a simple rule for picking the right format for your project.
Turn JSON samples into TypeScript interfaces. Learn how type inference works, interface vs type alias, optional and nullable fields, arrays and unions, and how to refine generated types for production.
A practical guide to parsing JSON in Python: json.loads vs json.load, the Python-to-JSON type mapping, serializing with json.dumps, and how to fix JSONDecodeError and other common parsing mistakes.
A complete guide to JSON Lines (JSONL) and NDJSON: how the format works, how it differs from a JSON array, where it is used in AI training and logging, and how to convert between JSONL and JSON.
Learn how to diff JSON the right way: why a plain text diff fails, structural vs value differences, the key-ordering trap, generating a patch, and tools to compare JSON files instantly.
Learn how to decode a JSON Web Token (JWT) by hand and with tools, understand its header, payload, and signature, read standard claims, and avoid the security mistakes that break authentication.
A practical guide to formatting JSON: indentation choices, sorting keys, formatting vs minifying, doing it in code and in the browser, and why consistent formatting matters for diffs and reviews.
Learn what JSON minification is, how it works, when it helps performance, how it interacts with gzip, and how to minify and re-expand JSON safely without changing a single value.
Master JSON in JavaScript: JSON.parse and JSON.stringify, the reviver and replacer callbacks, handling Dates, BigInt, and undefined, common errors, and the security rules for untrusted input.
A clear comparison of JSON and XML: syntax, data types, verbosity, parsing, and ecosystems. Learn when XML still wins, why JSON dominates APIs, and how to convert between the two.
Merge JSON objects correctly: shallow vs deep merge, how nested keys and arrays are combined, conflict resolution, doing it in JavaScript and Python, and tools that merge JSON without losing data.
JSON has no date type — here is how to handle dates correctly: why ISO 8601 in UTC is the standard, timestamps vs strings, time zones, parsing back to native dates, and the pitfalls to avoid.
Understand JSON Pointer, the RFC 6901 standard for addressing a value in a JSON document: slash-separated paths, array indexes, escaping ~ and /, the whole-document pointer, and how it powers JSON Patch.
Learn jq, the command-line JSON processor: the identity filter, the pipe, selecting fields, filtering with select, transforming arrays with map, and building new objects — with copyable examples.
Understand how MongoDB uses JSON and BSON: the binary format behind documents, extra data types like ObjectId and Date, Extended JSON modes, and why your stored data differs from the JSON you see.
Use JSON in PostgreSQL the right way: json vs jsonb, the -> and ->> access operators, containment with @>, GIN indexing strategies, and when a normal column beats a JSON blob.
Send JSON in a cURL POST request: the Content-Type header, the -d flag, sending from a file, adding auth, quoting on Windows vs Unix, and why -d already implies POST.
Design JSON APIs that are predictable and easy to consume: naming conventions, consistent error shapes, dates and money, pagination, versioning, and validating responses against a schema.
Understand why ChatGPT and other LLMs break JSON syntax — markdown fences, trailing commas, truncation, schema drift — and learn prompting, validation, repair, and schema strategies for production AI apps.
Convert JSON to XML for SOAP and legacy systems and back again: how keys map to elements, arrays to repeated tags, attribute and namespace limits, valid element naming, and round-trip caveats.
A step-by-step guide to converting JSON arrays into CSV for spreadsheets: structuring the input, flattening nested fields, handling arrays, choosing the right delimiter and encoding, and avoiding broken imports.
Compare JSON and YAML for configuration files, Kubernetes, and CI pipelines — syntax, comments, readability, failure modes, security, and converting safely between the two with practical recommendations.
Compare JSON and CSV for data exchange: structure, nesting, types, file size, tooling, and streaming. Learn when a flat CSV beats JSON and when nested JSON is the only sensible choice.
A practical JSON Schema guide: core keywords, types, required fields, enums, nested objects and arrays, validation in CI, and how schemas guardrail API payloads and AI structured outputs.
Convert CSV to JSON correctly: header-to-key mapping, handling delimiters and quoted fields, type inference, nested output, and the edge cases (commas, newlines, empty values) that break naive conversion.
Fix invalid JSON fast. A complete guide to the most common syntax errors — trailing commas, single quotes, unquoted keys, bad escapes, and truncated payloads — with examples and a reliable repair workflow.
Learn what JSON is, how it works, its syntax rules and data types, how it compares to XML and YAML, and why JSON became the default format for APIs, configs, and AI applications.
Open and read JSON files anywhere: text editors, browsers, VS Code, command-line tools, and online viewers. Plus how to make minified JSON readable and fix a file that will not open.
Understand JSON objects: keys and values, the double-quote rule, nesting, duplicate keys, unordered semantics, and how objects differ from arrays — with practical examples.
Everything about JSON arrays: syntax and ordering, arrays of objects, nested and mixed-type arrays, how to access elements by index, and how arrays differ from JSON objects.
Parse JSON in Go with encoding/json: Unmarshal into structs, struct tags for field names, Marshal to produce JSON, decoding into maps and interfaces, and the exported-field rule that trips up beginners.
Parse JSON in PHP with json_decode and json_encode: arrays vs objects, the associative flag, error handling with JSON_THROW_ON_ERROR, pretty printing, and the common encoding gotchas.
Parse JSON in C# with System.Text.Json and Newtonsoft.Json: JsonSerializer.Deserialize into POCOs, JsonDocument for read-only DOM, options for case sensitivity, and how the two libraries differ.
Parse JSON in Java with Jackson and Gson: ObjectMapper readValue, the JsonNode tree model, reading files and arrays, writing JSON back, and handling common errors and unknown fields.