elasticmagic-kt
0.0.30
elasticmagic-serde-jackson-yaml
/
dev.evo.elasticmagic.serde.jackson
/
YamlSerializer
/
ObjectCtx
Object
Ctx
class
ObjectCtx
:
StdSerializer.ObjectCtx
Constructors
Functions
Constructors
Object
Ctx
Link copied to clipboard
fun
ObjectCtx
(
)
Functions
array
Link copied to clipboard
open
override
fun
array
(
name
:
String
,
block
:
Serializer.ArrayCtx
.
(
)
->
Unit
)
build
Link copied to clipboard
fun
build
(
)
:
Map
<
String
,
Any
?
>
field
Link copied to clipboard
open
fun
field
(
name
:
String
,
value
:
Any
?
)
open
override
fun
field
(
name
:
String
,
value
:
Boolean
?
)
open
override
fun
field
(
name
:
String
,
value
:
Double
?
)
open
override
fun
field
(
name
:
String
,
value
:
Float
?
)
open
override
fun
field
(
name
:
String
,
value
:
Int
?
)
open
override
fun
field
(
name
:
String
,
value
:
Long
?
)
open
override
fun
field
(
name
:
String
,
value
:
String
?
)
field
If
Not
Null
Link copied to clipboard
open
fun
fieldIfNotNull
(
name
:
String
,
value
:
Any
?
)
open
fun
fieldIfNotNull
(
name
:
String
,
value
:
Boolean
?
)
open
fun
fieldIfNotNull
(
name
:
String
,
value
:
Double
?
)
open
fun
fieldIfNotNull
(
name
:
String
,
value
:
Float
?
)
open
fun
fieldIfNotNull
(
name
:
String
,
value
:
Long
?
)
open
fun
fieldIfNotNull
(
name
:
String
,
value
:
Number
?
)
open
fun
fieldIfNotNull
(
name
:
String
,
value
:
String
?
)
obj
Link copied to clipboard
open
override
fun
obj
(
name
:
String
,
block
:
Serializer.ObjectCtx
.
(
)
->
Unit
)
serialize
Link copied to clipboard
open
override
fun
serialize
(
)
:
String