All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.comect.misc.dataschema.languages.kotlin.file.kte Maven / Gradle / Ivy

Go to download

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