Create POJO Class for Kotlin
问题 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 Kotlin QUICKLY? Edited: I know its use Data classes, but is there any simplest way to create it? 回答1: I think this should be the Plugin what you want https://github.com/wuseal/JsonToKotlinClass 回答2: Yes, I got solution for Example: { "foo": "string", "bar": "integer", "baz": "boolean" } My POJO Class Created using http://www