# wuseal/JsonToKotlinClass

🚀 Plugin for Android Studio And IntelliJ Idea to generate Kotlin data class code from JSON text ( Json to Kotlin )

Repository: https://github.com/wuseal/JsonToKotlinClass
Canonical: https://ross.abutalabs.com/products/jsontokotlinclass
Language: Kotlin
License: GPL-3.0
License Family: copyleft
Topics: kotlin, gson, json-to-kotlin, androidstudio-plugin, intellij-plugin, jackson, fastjson, android-studio-plugin, logansquare, moshi
Last push: 2025-06-03T19:19:07+00:00

## Health v2 (maintenance only)
Score: 36/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 24, release rhythm 16, longevity 100
- inputs: {"age_days": 3291, "days_push": 456, "days_rel": 501, "gap_med": 109.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3179, forks 181 (observed 2026-08-28T04:07:47.742600+00:00)

## What it is
An IntelliJ IDEA and Android Studio plugin that generates Kotlin data class code from JSON strings, with support for annotations like Gson, Moshi, and Jackson. It also ships as a Java/Kotlin library for programmatic JSON-to-Kotlin class generation.

## Use cases
- convert json to kotlin data class
- generate kotlin model classes from json response
- android studio plugin to create data classes from json
- generate gson annotated kotlin classes from json
- programmatically generate kotlin data classes from json in a build script
- create nested kotlin classes from complex json

## When to choose
- you write Kotlin on Android or JVM and frequently map JSON APIs to data classes
- you want automatic generation of nested/complex types with serializer annotations
- you prefer an IDE-integrated workflow with a keyboard shortcut

## When to avoid
- you work in Java or another non-Kotlin language
- you need JSON schema validation rather than class generation
- you use an IDE other than IntelliJ-based ones

## Facets
- artifact type: plugin
- maturity: active
- function: parser, json, developer-tools
- domain: developer-tools, mobile-development, programming-languages
- platform: editor-plugin, jvm
- tags: intellij-plugin, android-studio-plugin, kotlin-data-class, json-to-kotlin, gson, moshi, jackson, code-generator, code-generation, automation

## Member repositories
- wuseal/JsonToKotlinClass (main) score 36

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:47.742600+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:25:06.646556+00:00, confidence not recorded.
  - readme: https://github.com/wuseal/JsonToKotlinClass (fetched 2026-08-28T04:07:47.742600+00:00, sha d645f60a534b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
