class JsonEvent extends AnyRef
A JSON event emited by the io.vertx.scala.core.parsetools.JsonParser.
- Alphabetic
- By Inheritance
- JsonEvent
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-  new JsonEvent(_asJava: AnyRef)
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        arrayValue(): JsonArray
      
      
      - returns
- the JSON array value or - nullif the event has no JSON value
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
-  def asJava: AnyRef
- 
      
      
      
        
      
    
      
        
        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. * @return the binary value or nullif the event has no JSON value
- 
      
      
      
        
      
    
      
        
        def
      
      
        booleanValue(): Boolean
      
      
      - returns
- the - Booleanvalue or- nullif the event has no JSON value
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        doubleValue(): Double
      
      
      - returns
- the - Doublevalue or- nullif the event has no JSON value
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        fieldName(): String
      
      
      - returns
- the name of the field when the event is emitted as a JSON object member 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        floatValue(): Float
      
      
      - returns
- the - Floatvalue or- nullif the event has no JSON value
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        integerValue(): Int
      
      
      - returns
- the - Integervalue or- nullif the event has no JSON value
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isArray(): Boolean
      
      
      - returns
- true when the JSON value is a JSON array 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isBoolean(): Boolean
      
      
      - returns
- true when the JSON value is a boolean 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isNull(): Boolean
      
      
      - returns
- true when the JSON value is null 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isNumber(): Boolean
      
      
      - returns
- true when the JSON value is a number 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isObject(): Boolean
      
      
      - returns
- true when the JSON value is a JSON object 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isString(): Boolean
      
      
      - returns
- true when the JSON value is a string 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        longValue(): Long
      
      
      - returns
- the - Longvalue or- nullif the event has no JSON value
 
- 
      
      
      
        
      
    
      
        
        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. * @param type the type to decode the value to- returns
- the decoded value 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        objectValue(): JsonObject
      
      
      - returns
- the JSON object value or - nullif the event has no JSON value
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        stringValue(): String
      
      
      - returns
- the string value or - nullif the event has no JSON value
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        type(): JsonEventType
      
      
      - returns
- the type of the event 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        value(): AnyRef
      
      
      - returns
- the json value for JsonEventType#VALUE events 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )