Package com.alibaba.fastjson2
Class JSONPathTypedMultiNamesPrefixIndex1
- java.lang.Object
-
- com.alibaba.fastjson2.JSONPath
-
- com.alibaba.fastjson2.JSONPathTypedMultiNamesPrefixIndex1
-
public class JSONPathTypedMultiNamesPrefixIndex1 extends JSONPath
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.alibaba.fastjson2.JSONPath
JSONPath.Feature
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(Object object)protected JSONReader.ContextcreateContext()Objecteval(Object root)Objectextract(JSONReader jsonReader)StringextractScalar(JSONReader jsonReader)JSONPathgetParent()protected booleanignoreError(int index)booleanisRef()booleanremove(Object object)voidset(Object object, Object value)voidset(Object object, Object value, JSONReader.Feature... readerFeatures)voidsetCallback(Object object, BiFunction callback)voidsetInt(Object object, int value)voidsetLong(Object object, long value)-
Methods inherited from class com.alibaba.fastjson2.JSONPath
arrayAdd, compile, compile, contains, endsWithFilter, eval, eval, extract, extract, extract, extract, extract, extract, extractInt32, extractInt32Value, extractInt64, extractInt64Value, extractScalar, getReaderContext, getWriterContext, isPrevious, of, of, of, of, of, of, of, paths, remove, remove, set, set, setCallback, setCallback, setCallback, setReaderContext, setWriterContext, toString
-
-
-
-
Method Detail
-
extract
public Object extract(JSONReader jsonReader)
-
isRef
public boolean isRef()
-
ignoreError
protected final boolean ignoreError(int index)
-
createContext
protected JSONReader.Context createContext()
- Overrides:
createContextin classJSONPath
-
extractScalar
public String extractScalar(JSONReader jsonReader)
- Specified by:
extractScalarin classJSONPath
-
set
public void set(Object object, Object value, JSONReader.Feature... readerFeatures)
-
setCallback
public void setCallback(Object object, BiFunction callback)
- Specified by:
setCallbackin classJSONPath
-
-