Value

@Serializable(with = ValueSerializer::class)
sealed interface Value

Inheritors

Types

Link copied to clipboard
value class Array(val value: List<Value>) : Value
Link copied to clipboard
@Serializable
value class Bool(val value: Boolean) : Value
Link copied to clipboard
@Serializable(with = ValueNullSerializer::class)
object Null : Value
Link copied to clipboard
@Serializable
value class Number(val value: Double) : Value
Link copied to clipboard
value class Object(val value: Map<String, Value>) : Value
Link copied to clipboard
@Serializable
value class Str(val value: String) : Value