Kotlin•Client-Side Processing

JSON to Kotlin Converter

Convert JSON into Kotlin data classes with @SerializedName annotations for Android.

Developer workbench

Configure. Run. Inspect.

Types are inferred from the supplied sample. Include representative values and nulls.

⌘ / Ctrl + Enter to run
Options
57 input bytes

Output

How to Use JSON to Kotlin Converter

01

Paste your JSON input.

02

Click 'Generate Kotlin'.

03

Copy the data class code.

Frequently Asked Questions

Are val properties generated?

Yes, immutable val properties are generated for all fields.

Related Developer Tools

Explore more free client-side developer utilities in this category

View All Tools