toggle menu
Airship Android SDK
androidJvm
switch theme
search in API
urbanairship-core
/
com.urbanairship.json
/
JsonMap
/
Builder
Builder
open
class
Builder
Builder class for
com.urbanairship.json.JsonMap
Objects.
Members
Functions
build
Link copied to clipboard
@
NonNull
open
fun
build
(
)
:
JsonMap
Create the JSON map.
put
Link copied to clipboard
@
NonNull
open
fun
put
(
@
NonNull
key
:
String
,
value
:
Boolean
)
:
JsonMap.Builder
@
NonNull
open
fun
put
(
@
NonNull
key
:
String
,
value
:
Char
)
:
JsonMap.Builder
@
NonNull
open
fun
put
(
@
NonNull
key
:
String
,
@
Nullable
value
:
JsonSerializable
)
:
JsonMap.Builder
@
NonNull
open
fun
put
(
@
NonNull
key
:
String
,
value
:
Double
)
:
JsonMap.Builder
@
NonNull
open
fun
put
(
@
NonNull
key
:
String
,
value
:
Int
)
:
JsonMap.Builder
@
NonNull
open
fun
put
(
@
NonNull
key
:
String
,
@
Nullable
value
:
String
)
:
JsonMap.Builder
@
NonNull
open
fun
put
(
@
NonNull
key
:
String
,
value
:
Long
)
:
JsonMap.Builder
Add a key and value to the JSON map.
put
All
Link copied to clipboard
@
NonNull
open
fun
putAll
(
@
NonNull
map
:
JsonMap
)
:
JsonMap.Builder
Add a pre-existing JSON map to the JSON map.
put
Opt
Link copied to clipboard
@
NonNull
open
fun
putOpt
(
@
NonNull
key
:
String
,
@
Nullable
value
:
Any
)
:
JsonMap.Builder
Add a key and value to the JSON map.