Package com.alibaba.fastjson2.reader
Class ObjectReaderImplInt64ValueArray
java.lang.Object
com.alibaba.fastjson2.reader.ObjectReaderImplInt64ValueArray
- All Implemented Interfaces:
ObjectReader
-
Field Summary
FieldsFields inherited from interface com.alibaba.fastjson2.reader.ObjectReader
VALUE_NAME -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(long features) createInstance(Collection collection, long features) Gets the class of objects that this ObjectReader can deserialize.readJSONBObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features) Reads an object from JSONB format.readObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features) Reads an object from the specified JSONReader with the given field type, field name, and features.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alibaba.fastjson2.reader.ObjectReader
accept, acceptExtra, acceptExtra, autoType, autoType, createInstance, createInstance, createInstance, createInstance, createInstance, createInstanceNoneDefaultConstructor, getBuildFunction, getFeatures, getFieldReader, getFieldReader, getFieldReaderLCase, getTypeKey, getTypeKeyHash, readArrayMappingJSONBObject, readArrayMappingObject, readObject, readObject, readObject, setFieldValue, setFieldValue, setFieldValue
-
Field Details
-
HASH_TYPE
public static final long HASH_TYPE -
objectClass
-
-
Method Details
-
readObject
Description copied from interface:ObjectReaderReads an object from the specified JSONReader with the given field type, field name, and features.- Parameters:
jsonReader- the JSONReader to use for parsingfieldType- the type of the field being readfieldName- the name of the field being readfeatures- the features to use- Returns:
- the deserialized object
-
readJSONBObject
public Object readJSONBObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features) Description copied from interface:ObjectReaderReads an object from JSONB format.- Specified by:
readJSONBObjectin interfaceObjectReader- Parameters:
jsonReader- the JSONReader to use for parsingfieldType- the type of the field being readfieldName- the name of the field being readfeatures- the features to use- Returns:
- the deserialized object
-
createInstance
- Returns:
ObjectReader
-
getObjectClass
Description copied from interface:ObjectReaderGets the class of objects that this ObjectReader can deserialize.- Specified by:
getObjectClassin interfaceObjectReader<T>- Returns:
- the object class, or null if not specified
-
createInstance
- Specified by:
createInstancein interfaceObjectReader<T>- Returns:
ObjectReader
-