toggle menu
hexagon
3.7.2
jvm
switch theme
search in API
serialization_jackson
/
com.hexagonkt.serialization.jackson
/
JacksonTextFormat
Jackson
Text
Format
abstract
class
JacksonTextFormat
(
factoryGenerator
:
(
)
->
JsonFactory
=
{ JsonFactory() }
,
prettyPrint
:
Boolean
=
true
)
:
SerializationFormat
Members
Constructors
Jackson
Text
Format
Link copied to clipboard
constructor
(
factoryGenerator
:
(
)
->
JsonFactory
=
{ JsonFactory() }
,
prettyPrint
:
Boolean
=
true
)
Properties
media
Type
Link copied to clipboard
abstract
val
mediaType
:
MediaType
text
Format
Link copied to clipboard
open
override
val
textFormat
:
Boolean
=
true
Functions
parse
Link copied to clipboard
open
fun
parse
(
input
:
String
)
:
Any
open
override
fun
parse
(
input
:
InputStream
)
:
Any
serialize
Link copied to clipboard
open
override
fun
serialize
(
instance
:
Any
)
:
String
open
override
fun
serialize
(
instance
:
Any
,
output
:
OutputStream
)
serialize
Bytes
Link copied to clipboard
open
fun
serializeBytes
(
instance
:
Any
)
:
ByteArray