public class JsonPath extends Object implements Iterable<PathOperator>
限定符和类型 | 类和说明 |
---|---|
static class |
JsonPath.Builder |
限定符和类型 | 字段和说明 |
---|---|
protected PathOperator[] |
operators |
protected int |
size |
限定符和类型 | 方法和说明 |
---|---|
boolean |
checkDefinite() |
void |
clear() |
JsonPath |
derivePath(int depth) |
PathOperator |
get(int i) |
boolean |
isDefinite() |
Iterator<PathOperator> |
iterator() |
boolean |
match(JsonPath jsonPath) |
boolean |
matchFilterPath(JsonPath jsonPath) |
boolean |
matchWithDeepScan(JsonPath jsonPath) |
static int |
minimumPathDepth(JsonPath path) |
int |
pathDepth() |
PathOperator |
peek() |
protected void |
pop() |
protected void |
push(PathOperator operator) |
Object |
resolve(Object document,
DocumentResolver resolver) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected PathOperator[] operators
protected int size
public Iterator<PathOperator> iterator()
iterator
在接口中 Iterable<PathOperator>
public Object resolve(Object document, DocumentResolver resolver)
public boolean match(JsonPath jsonPath)
public boolean matchWithDeepScan(JsonPath jsonPath)
public boolean matchFilterPath(JsonPath jsonPath)
public JsonPath derivePath(int depth)
public PathOperator get(int i)
public PathOperator peek()
protected void push(PathOperator operator)
protected void pop()
public int pathDepth()
public void clear()
public static int minimumPathDepth(JsonPath path)
public boolean isDefinite()
public boolean checkDefinite()
Copyright © 2020. All rights reserved.