vertx-lang-scala-docs_2.12 3.5.2.CR2 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package core
  Definition Classes
    scala
-  package parsetools
  Definition Classes
    core
- JsonEvent
- JsonParser
- RecordParser

c

io.vertx.scala.core.parsetools

# JsonEvent 

###
Companion object JsonEvent

#### class JsonEvent extends AnyRef

A JSON event emited by the io.vertx.scala.core.parsetools.JsonParser.

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. JsonEvent
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new JsonEvent(_asJava: AnyRef)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  def arrayValue(): JsonArray

   returns

     the JSON array value or `null` if the event has no JSON value

5.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
6.  def asJava: AnyRef
7.  def binaryValue(): Buffer

   Return the binary value.

   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.

   returns

     the binary value or `null` if the event has no JSON value

8.  def booleanValue(): Boolean

   returns

     the `Boolean` value or `null` if the event has no JSON value

9.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @native() @throws( ... )
10.  def doubleValue(): Double

    returns

      the `Double` value or `null` if the event has no JSON value

11.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
12.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
13.  def fieldName(): String

    returns

      the name of the field when the event is emitted as a JSON object member

14.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
15.  def floatValue(): Float

    returns

      the `Float` value or `null` if the event has no JSON value

16.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
17.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
18.  def integerValue(): Int

    returns

      the `Integer` value or `null` if the event has no JSON value

19.  def isArray(): Boolean

    returns

      true when the JSON value is a JSON array

20.  def isBoolean(): Boolean

    returns

      true when the JSON value is a boolean

21.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
22.  def isNull(): Boolean

    returns

      true when the JSON value is null

23.  def isNumber(): Boolean

    returns

      true when the JSON value is a number

24.  def isObject(): Boolean

    returns

      true when the JSON value is a JSON object

25.  def isString(): Boolean

    returns

      true when the JSON value is a string

26.  def longValue(): Long

    returns

      the `Long` value or `null` if the event has no JSON value

27.  def mapTo[T](type: Class[T])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Decodes and returns the current value as the specified `type`.

    Decodes and returns the current value as the specified `type`.

    type

      the type to decode the value to

    returns

      the decoded value

28.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
29.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
30.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
31.  def objectValue(): JsonObject

    returns

      the JSON object value or `null` if the event has no JSON value

32.  def stringValue(): String

    returns

      the string value or `null` if the event has no JSON value

33.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
34.  def toString(): String
    Definition Classes
      AnyRef → Any
35.  def type(): JsonEventType

    returns

      the type of the event

36.  def value(): AnyRef

    returns

      the json value for JsonEventType#VALUE events

37.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
38.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
39.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped