Builder

open class Builder

Builder class for com.urbanairship.json.JsonMap Objects.

Functions

Link copied to clipboard
open fun build(): JsonMap
Create the JSON map.
Link copied to clipboard
open fun put(@NonNull key: String, value: Boolean): JsonMap.Builder
open fun put(@NonNull key: String, value: Char): JsonMap.Builder
open fun put(@NonNull key: String, value: Double): JsonMap.Builder
open fun put(@NonNull key: String, value: Int): JsonMap.Builder
open fun put(@NonNull key: String, value: Long): JsonMap.Builder
Add a key and value to the JSON map.
Link copied to clipboard
Add a pre-existing JSON map to the JSON map.
Link copied to clipboard
Add a key and value to the JSON map.