public class JsonPointerIterator extends Object
JsonPointer to read/write the querying data structure original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description | 
|---|---|
static io.vertx.lang.rx.TypeArg<JsonPointerIterator> | 
__TYPE_ARG  | 
static JsonPointerIterator | 
JSON_ITERATOR
Instance of a JsonPointerIterator to query Vert.x Json structures 
 | 
| Constructor and Description | 
|---|
JsonPointerIterator(JsonPointerIterator delegate)  | 
JsonPointerIterator(Object delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
appendArrayElement(Object currentValue,
                  Object value)
Append array element 
 | 
boolean | 
equals(Object o)  | 
Object | 
getArrayElement(Object currentValue,
               int i)
Move the iterator the array element at specified index 
 | 
JsonPointerIterator | 
getDelegate()  | 
Object | 
getObjectParameter(Object currentValue,
                  String key,
                  boolean createOnMissing)
Returns the object parameter with specified key. 
 | 
int | 
hashCode()  | 
boolean | 
isArray(Object currentValue)  | 
boolean | 
isNull(Object currentValue)  | 
boolean | 
isObject(Object currentValue)  | 
static JsonPointerIterator | 
newInstance(JsonPointerIterator arg)  | 
boolean | 
objectContainsKey(Object currentValue,
                 String key)  | 
String | 
toString()  | 
boolean | 
writeArrayElement(Object currentValue,
                 int i,
                 Object value)
Write array element at specified index 
 | 
boolean | 
writeObjectParameter(Object currentValue,
                    String key,
                    Object value)
Write object parameter at specified key 
 | 
public static final io.vertx.lang.rx.TypeArg<JsonPointerIterator> __TYPE_ARG
public static final JsonPointerIterator JSON_ITERATOR
public JsonPointerIterator(JsonPointerIterator delegate)
public JsonPointerIterator(Object delegate)
public JsonPointerIterator getDelegate()
public boolean isObject(Object currentValue)
currentValue - true if the current value is a queryable objectpublic boolean isArray(Object currentValue)
currentValue - true if the current value is a queryable arraypublic boolean isNull(Object currentValue)
currentValue - true if the current value is null/emptypublic boolean objectContainsKey(Object currentValue, String key)
currentValue - key - object keytrue if current value is a queryable object that contains the specified keypublic Object getObjectParameter(Object currentValue, String key, boolean createOnMissing)
currentValue - key - object keycreateOnMissing - If the current value is an object that doesn't contain the key, put an empty object at provided keypublic Object getArrayElement(Object currentValue, int i)
currentValue - i - array indexpublic boolean writeObjectParameter(Object currentValue, String key, Object value)
currentValue - key - value - public boolean writeArrayElement(Object currentValue, int i, Object value)
currentValue - i - value - public boolean appendArrayElement(Object currentValue, Object value)
currentValue - value - public static JsonPointerIterator newInstance(JsonPointerIterator arg)
Copyright © 2022 Eclipse. All rights reserved.