Topic archive
JSON2Class
Reproducible JSON2Class guides for API response comparison, JSON Schema review, JSONPath extraction, JSON Patch changes and JSON-to-code workflows.
-
JSON Patch for Config Changes: Review Paths and Preconditions
Review JSON Patch operations before changing configuration. Test escaped paths, array edits and stale revisions with a reproducible JSON2Class lab.

-
JSONPath for Nested API Payloads: Extract Fields Reliably
Extract fields from nested API JSON with JSONPath. Test wildcards, indexes and missing fields in JSON2Class, and recognize unsupported filters.

-
JSON Schema and Ajv: Validate Optional Fields and Array Items
Validate API JSON with Ajv after reviewing a generated schema. Test optional fields, null values, decimal arrays and unknown keys with JSON2Class.

-
JSON Diff for API Response Reviews: Avoid Array-Order Noise
Compare API response JSON without formatting noise. Learn how to review removed fields, null values and array ordering with JSON2Class examples.

-
JSON to Java, Kotlin and TypeScript in the Browser: What JSON2Class Infers and Where It Stops
A walk through the type inference behind JSON2Class, a browser-only JSON to class generator I build and maintain: the Java, Kotlin and TypeScript it emits for one order payload, the annotation directives you can write inside the JSON, how array element types widen across every element, and the limits that remain before you paste production…