JacksonTextFormat

abstract class JacksonTextFormat(factoryGenerator: () -> JsonFactory = { JsonFactory() }, prettyPrint: Boolean = true) : SerializationFormat

Constructors

Link copied to clipboard
constructor(factoryGenerator: () -> JsonFactory = { JsonFactory() }, prettyPrint: Boolean = true)

Properties

Link copied to clipboard
abstract val mediaType: MediaType
Link copied to clipboard
open override val textFormat: Boolean = true

Functions

Link copied to clipboard
open fun parse(input: String): Any
open override fun parse(input: InputStream): Any
Link copied to clipboard
open override fun serialize(instance: Any): String
open override fun serialize(instance: Any, output: OutputStream)
Link copied to clipboard
open fun serializeBytes(instance: Any): ByteArray