evestera / json_typegen

Tools and libraries to create types for Rust, Kotlin, TypeScript and Python from JSON samples
https://typegen.vestera.as
Apache License 2.0
273 stars 26 forks source link

Kotlin does not allow empty data classes #29

Closed evestera closed 3 years ago

evestera commented 3 years ago

Kotlin does not allow empty data classes, so we should not generate code like this for inner object types:

data class People(
)