org.comect.misc.dataschema.languages.kotlin.file.kte Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of library Show documentation
Show all versions of library Show documentation
Library for transforming data files into data class-equivalents in various languages
The newest version!
@import org.comect.misc.dataschema.generation.VariableContainer
@param comment: String?
@param imports: List
@param name: String
@param packageName: String
@param variables: List
package ${packageName}
import kotlinx.serialization.Serializable@for(importName in imports)
import ${importName}@endfor
@if (comment != null)${comment}@endif
@Serializable
data class ${name}(@for(variable in variables)@if (variable.comment != null)
${variable.comment}@endif
${variable.line},@endfor
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy