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
- Alphabetic
- By Inheritance
- JsonPointerIterator
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new JsonPointerIterator(_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
appendArrayElement(currentValue: Option[AnyRef], value: Option[AnyRef]): Boolean
Append array element * @return true if the operation is successful
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJava: AnyRef
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isArray(currentValue: Option[AnyRef]): Boolean
- returns
true
if the current value is a queryable array
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNull(currentValue: Option[AnyRef]): Boolean
- returns
true
if the current value is null/empty
-
def
isObject(currentValue: Option[AnyRef]): Boolean
- returns
true
if the current value is a queryable object
-
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
objectContainsKey(currentValue: Option[AnyRef], key: String): Boolean
- key
object key
- returns
true
if current value is a queryable object that contains the specified key
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
-
def
writeArrayElement(currentValue: Option[AnyRef], i: Int, value: Option[AnyRef]): Boolean
Write array element at specified index * @return true if the operation is successful
-
def
writeObjectParameter(currentValue: Option[AnyRef], key: String, value: Option[AnyRef]): Boolean
Write object parameter at specified key * @return true if the operation is successful