Guides

Short, practical write-ups on the parts of JSON modelling that a code generator cannot decide for you. Each one links to the matching JSON2Struct converter.

All guides

  • Mapping JSON to Java with Jackson
    Map JSON to Java with Jackson: @JsonProperty, naming strategies, records versus Lombok @Data, null handling and unknown fields, with code you can run. October 17, 2026
  • Go struct tags for JSON: omitempty, string, pointers and RawMessage
    How Go encoding/json struct tags behave: omitempty and omitzero, the string option, pointers for null versus absent, json.RawMessage, and common pitfalls. October 17, 2026
  • Turning JSON into Python dataclasses
    Turn JSON into Python dataclasses: type hints, Optional fields, nested objects, from_dict patterns, and when Pydantic is the better choice. Runnable code. October 17, 2026
  • How JSON type inference works
    How JSON2Struct infers types from JSON: int versus long versus double, null-only fields, mixed arrays, merging array elements and naming nested types. October 17, 2026