Package com.alibaba.fastjson2.reader
Class ObjectReaderImplObject
- java.lang.Object
-
- com.alibaba.fastjson2.reader.ObjectReaderImplObject
-
- All Implemented Interfaces:
ObjectReader
public final class ObjectReaderImplObject extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static ObjectReaderImplObjectINSTANCEprotected ClassobjectClass-
Fields inherited from interface com.alibaba.fastjson2.reader.ObjectReader
HASH_TYPE, VALUE_NAME
-
-
Constructor Summary
Constructors Constructor Description ObjectReaderImplObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectcreateInstance(long features)ObjectcreateInstance(Collection collection, long features)ObjectcreateInstance(Map map, long features)ClassgetObjectClass()ObjectreadJSONBObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)ObjectreadObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alibaba.fastjson2.reader.ObjectReader
accept, acceptExtra, acceptExtra, autoType, autoType, createInstance, createInstance, createInstance, createInstance, createInstanceNoneDefaultConstructor, getBuildFunction, getFeatures, getFieldReader, getFieldReader, getFieldReaderLCase, getTypeKey, getTypeKeyHash, readArrayMappingJSONBObject, readArrayMappingObject, readObject, readObject, readObject, setFieldValue, setFieldValue, setFieldValue
-
-
-
-
Field Detail
-
INSTANCE
public static final ObjectReaderImplObject INSTANCE
-
objectClass
protected final Class objectClass
-
-
Method Detail
-
createInstance
public Object createInstance(long features)
- Specified by:
createInstancein interfaceObjectReader- Returns:
ObjectReader
-
createInstance
public Object createInstance(Collection collection, long features)
- Returns:
ObjectReader
-
createInstance
public Object createInstance(Map map, long features)
- Returns:
ObjectReader
-
readObject
public Object readObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)
- Returns:
ObjectReader
-
readJSONBObject
public Object readJSONBObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features)
- Specified by:
readJSONBObjectin interfaceObjectReader- Returns:
ObjectReader
-
getObjectClass
public Class getObjectClass()
- Specified by:
getObjectClassin interfaceObjectReader<T>
-
-