The JsonPointerIterator is used by the read/write algorithms of the @see \io\vertx\jphp\core\json\pointer\JsonPointer to read/write the querying data structure <br/>
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
package |
Default |
---|
__construct()
appendArrayElement( $arg0, $arg1) : boolean
mixed
mixed
boolean
true if the operation is successful
getArrayElement( $arg0, $arg1) : mixed
mixed
integer
mixed
the request array element, or null if the method was not able to find it
getObjectParameter( $arg0, $arg1, $arg2) : mixed
mixed
string
boolean
mixed
the requested object parameter, or null if the method was not able to find it
isArray( $arg0) : boolean
mixed
boolean
{@code true} if the current value is a queryable array
isNull( $arg0) : boolean
mixed
boolean
{@code true} if the current value is null/empty
isObject( $arg0) : boolean
mixed
boolean
{@code true} if the current value is a queryable object
objectContainsKey( $arg0, $arg1) : boolean
mixed
string
boolean
{@code true} if current value is a queryable object that contains the specified key
writeArrayElement( $arg0, $arg1, $arg2) : boolean
mixed
integer
mixed
boolean
true if the operation is successful
writeObjectParameter( $arg0, $arg1, $arg2) : boolean
mixed
string
mixed
boolean
true if the operation is successful
JSON_ITERATOR
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|