Home

com.hexagonkt.serialization

Package com.hexagonkt.serialization

Parse/serialize data in different formats to class instances.

Types

Name Summary
ContentType data class ContentType
Csv object Csv :SerializationFormat
Json object Json :SerializationFormat
SerializationFormat interface SerializationFormat
SerializationManager object SerializationManager
TODO
Yaml object Yaml :SerializationFormat

Exceptions

Name Summary
ParseException class ParseException :RuntimeException

Extensions for External Classes

Name Summary
java.io.File
java.io.InputStream
java.net.URL
kotlin.Any
kotlin.collections.List
kotlin.collections.Map
kotlin.String

Functions

Name Summary
parse fun <T :Any>Resource.parse(type:KClass<T>):T
fun <T :Any>Resource.parse():T
parseObjects fun <T :Any>Resource.parseObjects(type:KClass<T>):List<T>
fun <T :Any>Resource.parseObjects():List<T>