Skip to content

Index

//hexagon_core/com.hexagonkt.serialization/SerializationFormat

SerializationFormat

[jvm] interface SerializationFormat

Functions

Name Summary
parse [jvm]
Content
abstract fun <T : Any> parse(input: InputStream, type: KClass<T>): T


parseObjects [jvm]
Content
abstract fun <T : Any> parseObjects(input: InputStream, type: KClass<T>): List<T>


serialize [jvm]
Content
open fun serialize(obj: Any): String
abstract fun serialize(obj: Any, output: OutputStream)


Properties

Name Summary
contentType [jvm] abstract val contentType: String
extensions [jvm] abstract val extensions: Set<String>
isBinary [jvm] abstract val isBinary: Boolean