SyntaxBench / Reference notes
Uncategorized
-
Converting Microsecond Timestamps from Distributed Tracing Logs
A practical guide to parsing and converting 16-digit microsecond epoch timestamps from distributed telemetry systems into standard millisecond integers and ISO 8601 UTC strings, covering floating-point…
-
Converting Between Millisecond and Second Timestamps: Practical Ingestion, Scaling, and Validation
Unix timestamps track elapsed time since January 1, 1970 UTC, commonly represented as 10-digit integer seconds or 13-digit integer milliseconds. Converting between these units requires careful…
-
Minifying Formatted JSON to Reduce API Payload Size
Minifying formatted JSON transforms readable structured documents into compact single-line payloads by stripping structural whitespace without altering data values. This guide explores the mechanics of token-safe…
-
Can a URL Codec Preserve Existing Encoded Characters?
This guide explains whether a URL codec preserves existing percent-encoded characters such as %2F. It compares URL component, Complete URL, and Form value modes, describes how…
-
What an Invalid JSON Syntax Error Means and How to Fix It
An invalid JSON syntax error means a parser encountered text that violates JSON formatting rules. This guide explains common causes, including unquoted property names, trailing commas,…
-
Recover Original JSON After Pretty Printing
Pretty-printing JSON changes whitespace and layout but does not alter the underlying data tokens. This guide shows how to compact JSON again using syntaxbench.click’s JSON formatter,…
-
Using a URL Codec to Properly Encode Query Parameters
This guide explains how URL codecs encode query parameters for safe inclusion in URLs. It covers choosing between encoding a single component and encoding a complete…
-
How to Decode Percent Encoded Query Strings Using a URL Codec
This guide explains how percent encoding works in query strings, how to choose and use SyntaxBench’s URL codec modes, what outputs and errors to expect, where…
-
Safely URL Encode Special Characters in URLs
This guide explains percent-encoding rules for URLs, including reserved and unreserved characters, component versus complete URL encoding, form-urlencoded handling of spaces and plus signs, tool behaviors…
-
Validating Complex Nested JSON Structures for Schema Compliance
This guide explains how JSON validation works recursively across nested objects, arrays, dictionaries, and discriminated unions. It covers container instances, child instances, independent schema evaluation, and…