Package com.alibaba.fastjson2.reader
Class ObjectReaderImplValueString<T>
java.lang.Object
com.alibaba.fastjson2.reader.ObjectReaderImplValueString<T>
- All Implemented Interfaces:
ObjectReader<T>
-
Field Summary
Fields inherited from interface com.alibaba.fastjson2.reader.ObjectReader
HASH_TYPE, VALUE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionObjectReaderImplValueString(Class<T> objectClass, long features, JSONSchema schema, Function<String, T> function) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ObjectReaderImplValueString<T>of(Class<T> objectClass, long features, JSONSchema schema, Function<String, T> function) static <T> ObjectReaderImplValueString<T>readJSONBObject(JSONReader jsonReader, Type fieldType, Object fieldName, long features) readObject(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, waitMethods inherited from interface com.alibaba.fastjson2.reader.ObjectReader
acceptExtra, acceptExtra, autoType, autoType, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstanceNoneDefaultConstructor, getBuildFunction, getFeatures, getFieldReader, getFieldReader, getFieldReaderLCase, getObjectClass, getTypeKey, getTypeKeyHash, readArrayMappingJSONBObject, readArrayMappingObject, readObject, readObject, setFieldValue, setFieldValue
-
Constructor Details
-
ObjectReaderImplValueString
-
-
Method Details
-
readJSONBObject
- Specified by:
readJSONBObjectin interfaceObjectReader<T>- Returns:
ObjectReader
-
readObject
- Specified by:
readObjectin interfaceObjectReader<T>- Returns:
ObjectReader
-
of
public static <T> ObjectReaderImplValueString<T> of(Class<T> objectClass, Function<String, T> function) -
of
public static <T> ObjectReaderImplValueString<T> of(Class<T> objectClass, long features, JSONSchema schema, Function<String, T> function)
-