类的使用
org.jsfr.json.path.JsonPath
-
使用JsonPath的程序包 程序包 说明 org.jsfr.json org.jsfr.json.compiler org.jsfr.json.filter org.jsfr.json.path -
-
org.jsfr.json中JsonPath的使用
参数类型为JsonPath的org.jsfr.json中的方法 修饰符和类型 方法 说明 <T> SurfingConfiguration.BuilderSurfingConfiguration.Builder. bind(JsonPath jsonPath, Class<T> tClass, TypedJsonPathListener<T>... typedListeners)SurfingConfiguration.BuilderSurfingConfiguration.Builder. bind(JsonPath jsonPath, JsonPathListener... jsonPathListeners)<T> ValueBox<Collection<T>>Collector. collectAll(JsonPath jsonPath, Class<T> tClass)Collect multiple value into box<T> Collection<T>JsonSurfer. collectAll(InputStream inputStream, Class<T> tClass, JsonPath... paths)已过时。useJsonSurfer.collector(InputStream)insteadCollection<Object>JsonSurfer. collectAll(InputStream inputStream, JsonPath... paths)已过时。useJsonSurfer.collector(InputStream)instead<T> Collection<T>JsonSurfer. collectAll(Reader reader, Class<T> tClass, JsonPath... paths)已过时。useJsonSurfer.collector(String)insteadCollection<Object>JsonSurfer. collectAll(Reader reader, JsonPath... paths)已过时。useJsonSurfer.collector(String)instead<T> Collection<T>JsonSurfer. collectAll(String json, Class<T> tClass, JsonPath... paths)已过时。useJsonSurfer.collector(String)insteadCollection<Object>JsonSurfer. collectAll(String json, JsonPath... paths)已过时。useJsonSurfer.collector(String)instead<T> ValueBox<T>Collector. collectOne(JsonPath jsonPath, Class<T> tClass)Collect single value into box<T> TJsonSurfer. collectOne(InputStream inputStream, Class<T> tClass, JsonPath... paths)已过时。useJsonSurfer.collector(InputStream)insteadObjectJsonSurfer. collectOne(InputStream inputStream, JsonPath... paths)已过时。useJsonSurfer.collector(InputStream)instead<T> TJsonSurfer. collectOne(Reader reader, Class<T> tClass, JsonPath... paths)已过时。useJsonSurfer.collector(InputStream)insteadObjectJsonSurfer. collectOne(Reader reader, JsonPath... paths)已过时。useJsonSurfer.collector(InputStream)instead<T> TJsonSurfer. collectOne(String json, Class<T> tClass, JsonPath... paths)已过时。useJsonSurfer.collector(String)insteadObjectJsonSurfer. collectOne(String json, JsonPath... paths)已过时。useJsonSurfer.collector(String)insteadstatic Collection<SurfingConfiguration.FilterConfig>SurfingConfiguration. getFilterConfigs(JsonPath path)Iterator<Object>JsonSurfer. iterator(InputStream inputStream, JsonPath jsonPath)Create a streaming iterator which can pull matched value one by one according to provided JsonPath.Iterator<Object>JsonSurfer. iterator(Reader reader, JsonPath jsonPath)已过时。UseJsonSurfer.iterator(InputStream, JsonPath)instead.Iterator<Object>JsonSurfer. iterator(String json, JsonPath jsonPath)Create a streaming iterator which can pull matched value one by one according to provided JsonPath. -
org.jsfr.json.compiler中JsonPath的使用
返回JsonPath的org.jsfr.json.compiler中的方法 修饰符和类型 方法 说明 static JsonPathJsonPathCompiler. compile(String path)static JsonPath[]JsonPathCompiler. compile(String... paths) -
org.jsfr.json.filter中JsonPath的使用
返回JsonPath的org.jsfr.json.filter中的方法 修饰符和类型 方法 说明 JsonPathBasicJsonPathFilter. getRelativePath()参数类型为JsonPath的org.jsfr.json.filter中的方法 修饰符和类型 方法 说明 booleanAndPredicate. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)booleanCloneableJsonPathFilter. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)booleanEqualityBoolPredicate. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)booleanEqualityNumPredicate. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)booleanEqualityStrPredicate. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)booleanExistencePredicate. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)booleanGreaterThanNumPredicate. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)booleanJsonPathFilter. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)Returns whether json position satisfies the filter.booleanLessThanNumPredicate. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)booleanMatchRegexPredicate. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)booleanNegationPredicate. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)booleanOrPredicate. apply(JsonPath jsonPosition, int startDepth, PrimitiveHolder primitiveHolder, JsonProvider jsonProvider)参数类型为JsonPath的org.jsfr.json.filter中的构造器 构造器 说明 BasicJsonPathFilter(JsonPath relativePath)EqualityBoolPredicate(JsonPath relativePath, boolean value)EqualityNumPredicate(JsonPath relativePath, BigDecimal value)EqualityStrPredicate(JsonPath relativePath, String value)ExistencePredicate(JsonPath relativePath)GreaterThanNumPredicate(JsonPath relativePath, BigDecimal value)LessThanNumPredicate(JsonPath relativePath, BigDecimal value)MatchRegexPredicate(JsonPath relativePath, Pattern regex) -
org.jsfr.json.path中JsonPath的使用
返回JsonPath的org.jsfr.json.path中的方法 修饰符和类型 方法 说明 JsonPathJsonPath.Builder. build()JsonPathJsonPath. derivePath(int depth)参数类型为JsonPath的org.jsfr.json.path中的方法 修饰符和类型 方法 说明 booleanJsonPath. match(JsonPath jsonPath)booleanJsonPath. matchFilterPath(JsonPath jsonPath, int startDepth)booleanJsonPath. matchFilterPathUntilDepth(JsonPath jsonPath, int startDepth)booleanJsonPath. matchWithDeepScan(JsonPath jsonPath)static intJsonPath. minimumPathDepth(JsonPath path)
-