JsonFormat

open class JsonFormat(prettyPrint: Boolean = true) : SerializationFormat

Inheritors

Constructors

Link copied to clipboard
constructor(prettyPrint: Boolean = true)

Properties

Link copied to clipboard
open override 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 fun serialize(instance: Any): String
open override fun serialize(instance: Any, output: OutputStream)
Link copied to clipboard
open fun serializeBytes(instance: Any): ByteArray