vertx-lang-scala-docs_2.12 3.8.0 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 json
  Definition Classes
    core
-  package pointer
  Definition Classes
    json
- JsonPointer
- JsonPointerIterator

c

io.vertx.scala.core.json.pointer

# JsonPointerIterator 

###
Companion object JsonPointerIterator

#### class JsonPointerIterator extends AnyRef

The JsonPointerIterator is used by the read/write algorithms of the io.vertx.scala.core.json.pointer.JsonPointer to read/write the querying data structure

Every method takes the currentValue as parameter, representing the actual value held by the query algorithm.

Implementations of this interface should be stateless, so they can be reused

You can implement this interface to query the structure you want using json pointers

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. JsonPointerIterator
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new JsonPointerIterator(_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 appendArrayElement(currentValue: Option[AnyRef], value: Option[AnyRef]): Boolean

   Append array element * @return true if the operation is successful

5.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
6.  def asJava: AnyRef
7.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @native() @throws( ... )
8.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
9.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
10.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
11.  def getArrayElement(currentValue: Option[AnyRef], i: Int): AnyRef

    Move the iterator the the array element at specified index * @param i array index

    Move the iterator the the array element at specified index * @param i array index

    returns

      the request array element, or null if the method was not able to find it

12.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
13.  def getObjectParameter(currentValue: Option[AnyRef], key: String, createOnMissing: Boolean): AnyRef

    Returns the object parameter with specified key.

    Returns the object parameter with specified key. * @param key object key

    createOnMissing

      If the current value is an object that doesn't contain the key, put an empty object at provided key

    returns

      the requested object parameter, or null if the method was not able to find it

14.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
15.  def isArray(currentValue: Option[AnyRef]): Boolean

    returns

      `true` if the current value is a queryable array

16.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
17.  def isNull(currentValue: Option[AnyRef]): Boolean

    returns

      `true` if the current value is null/empty

18.  def isObject(currentValue: Option[AnyRef]): Boolean

    returns

      `true` if the current value is a queryable object

19.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
20.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
21.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
22.  def objectContainsKey(currentValue: Option[AnyRef], key: String): Boolean

    key

      object key

    returns

      `true` if current value is a queryable object that contains the specified key

23.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
24.  def toString(): String
    Definition Classes
      AnyRef → Any
25.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
26.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
27.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )
28.  def writeArrayElement(currentValue: Option[AnyRef], i: Int, value: Option[AnyRef]): Boolean

    Write array element at specified index * @return true if the operation is successful

29.  def writeObjectParameter(currentValue: Option[AnyRef], key: String, value: Option[AnyRef]): Boolean

    Write object parameter at specified key * @return true if the operation is successful

### Inherited from AnyRef

### Inherited from Any

### Ungrouped