toggle menu
hexagon
3.7.2
jvm
switch theme
search in API
serialization_jackson_yaml
/
com.hexagonkt.serialization.jackson.yaml
/
YamlFormat
Yaml
Format
open
class
YamlFormat
(
prettyPrint
:
Boolean
=
true
)
:
JacksonTextFormat
Inheritors
Yaml
Members
Constructors
Yaml
Format
Link copied to clipboard
constructor
(
prettyPrint
:
Boolean
=
true
)
Properties
media
Type
Link copied to clipboard
open
override
val
mediaType
:
MediaType
text
Format
Link copied to clipboard
open
override
val
textFormat
:
Boolean
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