Why convert JSON to Kotlin?
Writing Kotlin data classes for every API response by hand is slow and error-prone. Paste a sample JSON document above and get ready-to-use data classes in milliseconds, including nested objects and arrays.
How it works
The converter parses your JSON locally and generates Kotlin data classes with val
properties. Integers map to Long, floats to Double, and arrays to List<T>. Keys with
dashes or other exotic characters are kept unchanged between backticks, so the generated
code stays faithful to your payload.