Instantly generate Kotlin types and serializers from JSON
blog.quicktype.io
blog.quicktype.io
As usual, quicktype will:
* Infer nice class and property names
* Generate convenient `fromJson` and `toJson` methods for top-level types, including top-level arrays and maps
* Deduplicate types inferred to be the same
* Detect enums and emit custom marshaling code for them
* Detect heterogeneous JSON data and emit sealed classes with custom marshaling code to keep your Kotlin typesafe
* Distinguish Map<String, *> from custom object types automatically using Markov chains
Thank you for taking a look!