JsonNull

object JsonNull : JsonPrimitive

Class representing JSON null value

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open override val content: String

Content of given element without quotes. For JsonNull this methods returns null

Link copied to clipboard
open override val isString: Boolean

Indicates whether the primitive was explicitly constructed from String and whether it should be serialized as one. E.g. JsonPrimitive("42") is represented by a string, while JsonPrimitive(42) is not. These primitives will be serialized as 42 and "42" respectively.