Developer guides and worked examples
Practical guides to JSON, XML, encoding, validation and developer workflows, with examples and references.
- What is JSON? Syntax, types and common mistakes
Understand JSON values, strict syntax, and the difference between valid JSON and a valid API payload.
- Format JSON safely: a debugging workflow
Work through a broken API response, distinguish repair from formatting, and check the result before using it.
- JSON vs XML: compare a real payload and its trade-offs
Compare reproducible raw and gzip sizes, then examine types, attributes, repeated elements and conversion limits.
- Base64 encoding: text, bytes and decoding errors
Understand Base64 padding, UTF-8 text and why encoding is not encryption.
- Regular expressions: patterns, flags and matching examples
Explore regex patterns, capture groups and JavaScript flags with practical examples.
- YAML vs JSON for configuration files
Compare configuration formats, common syntax traps and the trade-offs when converting between them.
- JWT structure: decoding, signatures and verification
Learn what a JWT contains and why reading its payload does not verify its signature.
- UUID and GUID: random identifiers and practical limits
Understand UUID identifiers, random generation and when an identifier is not a security credential.
- JSON.parse and JSON.stringify in JavaScript
Parse and serialize JSON with examples of syntax errors, unsupported values and precision considerations.
- Unix timestamps vs ISO date strings
Understand seconds, milliseconds, time zones and common timestamp conversion mistakes.
- URL encoding and query parameter pitfalls
Understand percent encoding, spaces, Unicode and the difference between encoding a URL and its components.
- Using JSONHint: inputs, results and privacy
Find a tool, load an example, process input and export results while understanding browser and network boundaries.
- JSON Schema: validate an API contract with a worked example
Distinguish syntax from schema validation and test required fields, types and unexpected properties.
- HMAC signatures: message, key and algorithm
Understand keyed message authentication and how encoding differences affect signatures.
- Cron expressions: schedules and field behavior
Read five-field cron schedules and understand deployment-specific time zone and scheduling behavior.
- XML to JSON: attributes, arrays and information loss
Inspect the actual conversion mapping with executable examples, including empty tags and repeated elements.