JsonToKotlinClass icon indicating copy to clipboard operation
JsonToKotlinClass copied to clipboard

Can't put all generated classes in a single file

Open aviv-nino opened this issue 8 months ago • 1 comments

Can't find how to generate classes inside a single file.

For example

{
  "bars": [
      {
        "barz": "string"
      }
  ]
}

would create this file:

data class Foo(
  val bars: List<Bar>
)

data class Bar(
  val barz: String
)

aviv-nino avatar Feb 27 '25 14:02 aviv-nino