public final class ObjectReaderRootName<T> extends ObjectReaderAdapter<T>
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
rootName |
(package private) long |
rootNameHashCode |
constructor, fieldReaders, hashCodes, hashCodesLCase, instantiationError, mapping, mappingLCase, parameterCount, seeAlso, seeAlsoDefault, seeAlsoMapping, seeAlsoNames, typeKey, typeKeyHashCodeautoTypeBeforeHandler, buildFunction, creator, extraFieldReader, features, hasDefaultValue, objectClass, schema, serializable, typeName, typeNameHashHASH_TYPE, VALUE_NAME| Constructor and Description |
|---|
ObjectReaderRootName(java.lang.Class objectClass,
java.lang.String typeKey,
java.lang.String typeName,
java.lang.String rootName,
long features,
JSONSchema schema,
java.util.function.Supplier creator,
java.util.function.Function buildFunction,
java.lang.Class[] seeAlso,
java.lang.String[] seeAlsoNames,
java.lang.Class seeAlsoDefault,
FieldReader[] fieldReaders) |
| Modifier and Type | Method and Description |
|---|---|
T |
createInstance(java.util.Map map,
long features) |
T |
readJSONBObject(JSONReader jsonReader,
java.lang.reflect.Type fieldType,
java.lang.Object fieldName,
long features)
Reads an object from JSONB format.
|
T |
readObject(JSONReader jsonReader,
java.lang.reflect.Type fieldType,
java.lang.Object fieldName,
long features)
Reads an object from the specified JSONReader with the given field type, field name, and features.
|
apply, autoType, autoType, autoType, autoType, createInstance, createInstance, createInstance0, getBuildFunction, getFeatures, getFieldOrdinal, getFieldReader, getFieldReaderLCase, getFieldReaders, getFieldReaderUL, getTypeKey, getTypeKeyHash, ignoreError, initDefaultValue, initStringFieldAsEmpty, readArrayMappingJSONBObject, readArrayMappingJSONBObject0, readArrayMappingObject, readFieldValue, readFieldValueacceptExtra, checkAutoType, checkAutoType, checkAutoType0, getAutoTypeBeforeHandler, getObjectClass, processExtra, processExtra, processObjectInputSingleItemArray, readFieldValueWithLCase, readObject, setAutoTypeBeforeHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, acceptExtra, createInstance, createInstance, createInstance, createInstance, createInstanceNoneDefaultConstructor, getFieldReader, readObject, readObject, readObject, setFieldValue, setFieldValue, setFieldValuepublic ObjectReaderRootName(java.lang.Class objectClass,
java.lang.String typeKey,
java.lang.String typeName,
java.lang.String rootName,
long features,
JSONSchema schema,
java.util.function.Supplier creator,
java.util.function.Function buildFunction,
java.lang.Class[] seeAlso,
java.lang.String[] seeAlsoNames,
java.lang.Class seeAlsoDefault,
FieldReader[] fieldReaders)
public T createInstance(java.util.Map map, long features)
createInstance in interface ObjectReader<T>createInstance in class ObjectReaderAdapter<T>Tpublic T readJSONBObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadJSONBObject in interface ObjectReader<T>readJSONBObject in class ObjectReaderAdapter<T>jsonReader - the JSONReader to use for parsingfieldType - the type of the field being readfieldName - the name of the field being readfeatures - the features to usepublic T readObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadObject in interface ObjectReader<T>readObject in class ObjectReaderBean<T>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