public class ObjectReaderImplValueInt<T> extends java.lang.Object implements ObjectReader<T>
| Modifier and Type | Field and Description |
|---|---|
(package private) long |
features |
(package private) java.util.function.IntFunction<T> |
function |
(package private) JSONSchema |
schema |
HASH_TYPE, VALUE_NAME| Constructor and Description |
|---|
ObjectReaderImplValueInt(java.lang.Class<T> objectClass,
long features,
JSONSchema schema,
java.util.function.IntFunction<T> function) |
| Modifier and Type | Method and Description |
|---|---|
static <T> ObjectReaderImplValueInt<T> |
of(java.lang.Class<T> objectClass,
java.util.function.IntFunction<T> function) |
static <T> ObjectReaderImplValueInt<T> |
of(java.lang.Class<T> objectClass,
long features,
JSONSchema schema,
java.util.function.IntFunction<T> function) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, acceptExtra, acceptExtra, autoType, autoType, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstanceNoneDefaultConstructor, getBuildFunction, getFeatures, getFieldReader, getFieldReader, getFieldReaderLCase, getObjectClass, getTypeKey, getTypeKeyHash, readArrayMappingJSONBObject, readArrayMappingObject, readObject, readObject, readObject, setFieldValue, setFieldValue, setFieldValuefinal long features
final java.util.function.IntFunction<T> function
final JSONSchema schema
public ObjectReaderImplValueInt(java.lang.Class<T> objectClass, long features, JSONSchema schema, java.util.function.IntFunction<T> function)
public T readJSONBObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadJSONBObject in interface ObjectReader<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>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 static <T> ObjectReaderImplValueInt<T> of(java.lang.Class<T> objectClass, java.util.function.IntFunction<T> function)
public static <T> ObjectReaderImplValueInt<T> of(java.lang.Class<T> objectClass, long features, JSONSchema schema, java.util.function.IntFunction<T> function)