Package com.alibaba.fastjson2
Class JSONPathCompilerReflect.TwoNameSegmentTypedPath
java.lang.Object
com.alibaba.fastjson2.JSONPath
com.alibaba.fastjson2.JSONPathCompilerReflect.TwoNameSegmentTypedPath
- Enclosing class:
- JSONPathCompilerReflect
-
Nested Class Summary
Nested classes/interfaces inherited from class com.alibaba.fastjson2.JSONPath
JSONPath.Feature -
Constructor Summary
ConstructorsConstructorDescriptionTwoNameSegmentTypedPath(String path, JSONPathCompilerReflect.NameSegmentTyped first, JSONPathCompilerReflect.NameSegmentTyped second) -
Method Summary
Modifier and TypeMethodDescriptionbooleanextract(JSONReader jsonReader) extractScalar(JSONReader jsonReader) booleanisRef()booleanvoidvoidset(Object root, Object value, JSONReader.Feature... readerFeatures) voidsetCallback(Object root, BiFunction callback) voidvoidMethods inherited from class com.alibaba.fastjson2.JSONPath
arrayAdd, compile, compile, contains, createContext, eval, eval, extract, extract, extract, extract, extract, extract, extractInt32, extractInt32Value, extractInt64, extractInt64Value, extractScalar, getReaderContext, getWriterContext, isPrevious, of, of, of, of, of, of, paths, remove, remove, set, set, setCallback, setCallback, setCallback, setReaderContext, setWriterContext, toString
-
Constructor Details
-
TwoNameSegmentTypedPath
public TwoNameSegmentTypedPath(String path, JSONPathCompilerReflect.NameSegmentTyped first, JSONPathCompilerReflect.NameSegmentTyped second)
-
-
Method Details
-
eval
-
set
-
setInt
-
setLong
-
setCallback
-
remove
-
contains
-
isRef
public boolean isRef() -
set
-
extract
-
extractScalar
- Specified by:
extractScalarin classJSONPath
-