value

open override fun value(value: String): JsonWriter

Encodes the literal string value, or null to encode a null literal.


open override fun value(value: Boolean): JsonWriter

Encodes boolean value.


open override fun value(value: Double): JsonWriter

Encodes a finite double value.

May not be Double.isNaN or Double.isInfinite.


open override fun value(value: Int): JsonWriter

Encodes int value.


open override fun value(value: Long): JsonWriter

Encodes long value.


open override fun value(value: JsonNumber): JsonWriter

Encodes number value.


open override fun value(value: Upload): BufferedSinkJsonWriter

Encodes a Upload.