elasticmagic-kt
0.0.30
common
elasticmagic-serde
/
dev.evo.elasticmagic.serde
/
StdSerializer
/
ObjectCtx
Object
Ctx
abstract
inner
class
ObjectCtx
(
map
:
MutableMap
<
String
,
Any
?
>
)
:
Serializer.ObjectCtx
Constructors
Functions
Constructors
Object
Ctx
Link copied to clipboard
fun
ObjectCtx
(
map
:
MutableMap
<
String
,
Any
?
>
)
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
abstract
fun
serialize
(
)
:
String