ObjectCtx

Functions

Link copied to clipboard
abstract fun array(name: String, block: Serializer.ArrayCtx.() -> Unit)
Link copied to clipboard
open fun field(name: String, value: Any?)
abstract fun field(name: String, value: Boolean?)
abstract fun field(name: String, value: Double?)
abstract fun field(name: String, value: Float?)
abstract fun field(name: String, value: Int?)
abstract fun field(name: String, value: Long?)
abstract fun field(name: String, value: String?)
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?)
Link copied to clipboard
abstract fun obj(name: String, block: Serializer.ObjectCtx.() -> Unit)
Link copied to clipboard
abstract fun serialize(): String

Inheritors

Link copied to clipboard