json_extension_type library

JSON Extension Type Generator

Automatically generates extension types for JSON to Dart typedef records conversion.

Features:

  • Primitive types (String, int, double, bool)
  • Nullable types
  • Lists
  • Enums
  • Custom types (nested records)
  • Custom annotations (#key, #default)

Classes

CodeGenerator
FieldInfo
Represents a field of a typedef
JsonExtensionGenerator
ModelParser
TypedefInfo
Represents a typedef record or class