Create POJO Class for Kotlin

前端 未结 10 1901
闹比i
闹比i 2021-02-03 18:34

I want to create POJO class for Kotlin, as we know that www.jsonschema2pojo.org converts JSON to POJO so we can use it with gson.

Anyone know how to create Gson POJO for

10条回答
  •  不知归路
    2021-02-03 19:16

    Use the Android Studio or IntelliJ IDEA plugin: JSON To Kotlin Class ​(JsonToKotlinClass)​

提交回复
热议问题