escentmachine / field notes
Uncategorized
-
Inspect Percent-Encoded UTF-8 URLs and Trace Conversion Stages
Inspect percent-encoded URLs by preserving the original input, selecting the appropriate component, and recording byte conversion separately from text interpretation. Follow a practical workflow for checking escape syntax,…
-
How to Tell an Empty JSON Array From an Empty Object
An empty array contains no elements; an empty object contains no named members. Check JSON parsing, container type, and emptiness separately, then verify the required shape at the…
-
Why JSON Rejects Leading Zeros and Hexadecimal Numbers
JSON number syntax determines which spellings are permitted. Learn why 012 and 0x10 fail, why fractional and exponent zeros work, and how to choose between decimal numbers and…
-
How to Inspect JSON With an Anti-XSSI Prefix
Inspect a prefixed response without losing the original evidence. Confirm the endpoint’s exact prefix, remove it once from a working copy, and parse the remainder. Then check error…
-
Check Longitude and Latitude Order in GeoJSON
Read GeoJSON positions as longitude first and latitude second. Check syntax, structure and geographic plausibility separately, then use documented location evidence to resolve ambiguity before changing coordinates.
-
Why an API Response Starting With < Fails JSON Parsing
An unquoted < cannot begin a valid JSON value. Inspect what the endpoint returned, distinguish syntax errors from HTTP outcomes, and use local examples to reproduce the parsing…
-
How to Spot a Boolean Sent as a String in JSON
A field containing the word false may contain a string instead of a boolean. Compare its notation, inspect the exact field in your application, and establish the accepted…
-
Inspecting Partial Data and Errors in a GraphQL JSON Response
A practical workflow for inspecting GraphQL responses with escentmachine’s JSON formatter. Preserve the complete object, distinguish partial results from request errors, and investigate paths and schema nullability before…
-
How to Store Multiline Text in a Valid JSON String
Store multiline text by letting a JSON serializer escape its line endings. Learn to distinguish the original value from JSON source, recognize literal backslash-n text, preserve required characters,…
-
Why Comments and Trailing Commas Break Strict JSON
Comments introduce syntax that strict JSON does not recognize, while trailing commas promise another member or value. Learn how to convert an explicitly supported input dialect without damaging…