Guides / JSON
JSON field notes
Small distinctions with real consequences.
How to Inspect JSON With an Anti-XSSI Prefix
Payloads starting with )]}' or while(1); are protection, not corruption. Strip exactly the guard, validate the rest.
Why Formatting JSON Can Break Webhook Signature Verification
Signatures are computed over raw bytes, not parsed values. Verify first, then format a copy — and know why a value-diff shows nothing.
Why Comments and Trailing Commas Break Strict JSON
Two conveniences the grammar deliberately left out, why they were excluded, and practical alternatives for annotated configs.
Does Formatting JSON Change Array Element Order?
A correct formatter rearranges nothing. The two orders in JSON, what can actually move elements, and how to verify with a diff.
Locating JSON Syntax Errors by Line and Column
Turn “Invalid JSON” into an exact position. The common culprits, how parsers count positions, and how to read errors backwards.
How to Use JSON Inspector: A Beginner Workflow That Builds Good Habits
Learn JSON by inspecting it: read the tree, predict the parser, and pick up the traps early — single quotes, trailing commas, comments.
Why JSON Requires Double Quotes Around Strings and Property Names
Single quotes and bare identifiers look readable but are not JSON. Why the grammar pins one quote style, and how to convert safely.
How to Use JSON Inspector: A Documentation Guide for API Examples
Broken examples lose reader trust fast. A workflow for drafting, validating and maintaining the JSON in your API docs.
Null, Empty Strings, and Missing Properties: Three Different Absences
Explicit null, an empty string and a missing property carry different semantics. Clients must not collapse them.
How to Tell an Empty JSON Array From an Empty Object
[] and {} both render as blank, but they are different types with different iteration, truthiness and contract meanings.
JSON Number Precision and Safe Integers: A Practical Guide
Integers beyond 2^53 round-trip wrong in JavaScript. Detect the damage, compare raw text against parsed values, and keep IDs as strings.
How to Use JSON Inspector: A Quality Assurance Pass for Every Payload
A payload can be valid and wrong. Five checks — validity, counts, exact numbers, shape, no silent fixes — before it ships.
JSON Hiding in HTTP Headers: Extracting and Formatting Debug Payloads
Header constraints shape these payloads in ways the body never sees. Extract and format them without corrupting escapes.
Rescuing JSON That Traveled Through a CSV Cell
Stage the recovery: identify the damage, extract the cell, validate the syntax, then reformat for reading.
How to Use JSON Inspector: A Faster Iteration Loop for an Accuracy-First Workflow
Paste once, validate as you type, fix with line-and-column errors — a shorter edit-inspect-verify loop for everyday payloads.
JSON Pointer Escapes: Decoding Error Locations Without Breaking Paths
Translate an API error pointer into a real document path without falling into the tilde and slash traps.
Reading application/problem+json Responses Like a Contract
Treat the error envelope, the standard members and the status code as three separate signals — and stop guessing which layer failed.