vertx / io.vertx.rxjava.core.parsetools / JsonEvent

JsonEvent

open class JsonEvent

A JSON event emited by the io.vertx.rxjava.core.parsetools.JsonParser. NOTE: This class has been automatically generated from the io.vertx.core.parsetools.JsonEvent non RX-ified interface using Vert.x codegen.

Constructors

<init>

JsonEvent(delegate: JsonEvent)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<JsonEvent>

Functions

arrayValue

open fun arrayValue(): JsonArray

binaryValue

open fun binaryValue(): Buffer

Return the binary value.

JSON itself has no notion of a binary, this extension complies to the RFC-7493, so this method assumes there is a String value with the key and it contains a Base64 encoded binary, which it decodes if found and returns.

booleanValue

open fun booleanValue(): Boolean

doubleValue

open fun doubleValue(): Double

equals

open fun equals(other: Any?): Boolean

fieldName

open fun fieldName(): String

floatValue

open fun floatValue(): Float

getDelegate

open fun getDelegate(): JsonEvent

hashCode

open fun hashCode(): Int

integerValue

open fun integerValue(): Int

isArray

open fun isArray(): Boolean

isBoolean

open fun isBoolean(): Boolean

isNull

open fun isNull(): Boolean

isNumber

open fun isNumber(): Boolean

isObject

open fun isObject(): Boolean

isString

open fun isString(): Boolean

longValue

open fun longValue(): Long

mapTo

open fun <T : Any> mapTo(type: Class<T>): T

Decodes and returns the current value as the specified type.

newInstance

open static fun newInstance(arg: JsonEvent): JsonEvent

objectValue

open fun objectValue(): JsonObject

stringValue

open fun stringValue(): String

toString

open fun toString(): String

type

open fun type(): JsonEventType

value

open fun value(): Any