Package | Description |
---|---|
com.fasterxml.jackson.jr.ob.api | |
com.fasterxml.jackson.jr.ob.impl |
Modifier and Type | Method and Description |
---|---|
ValueReader |
ReaderWriterProvider.findCollectionReader(JSONReader readContext,
Class<?> type,
ResolvedType valueType,
ValueReader readerForValues) |
ValueReader |
ReaderWriterProvider.Pair.findCollectionReader(JSONReader ctxt,
Class<?> type,
ResolvedType valueType,
ValueReader readerForValues) |
ValueReader |
ReaderWriterProvider.findMapReader(JSONReader readContext,
Class<?> type,
ResolvedType valueType,
ValueReader readerForValues) |
ValueReader |
ReaderWriterProvider.Pair.findMapReader(JSONReader ctxt,
Class<?> type,
ResolvedType valueType,
ValueReader readerForValues) |
ValueReader |
ReaderWriterProvider.findValueReader(JSONReader readContext,
Class<?> type)
Method called to find custom reader for given type that is NOT one of
special container types (
Collection ,
Map ): typically value is a scalar, Bean or Enum. |
ValueReader |
ReaderWriterProvider.Pair.findValueReader(JSONReader ctxt,
Class<?> type) |
ValueReader |
ReaderWriterModifier.modifyValueReader(JSONReader readContext,
Class<?> type,
ValueReader defaultReader)
Method called after
ValueReader to use has been constructed, but
before it is to be used for the first time. |
ValueReader |
ReaderWriterModifier.Pair.modifyValueReader(JSONReader ctxt,
Class<?> type,
ValueReader defaultReader) |
Modifier and Type | Method and Description |
---|---|
ValueReader |
ReaderWriterProvider.findCollectionReader(JSONReader readContext,
Class<?> type,
ResolvedType valueType,
ValueReader readerForValues) |
ValueReader |
ReaderWriterProvider.Pair.findCollectionReader(JSONReader ctxt,
Class<?> type,
ResolvedType valueType,
ValueReader readerForValues) |
ValueReader |
ReaderWriterProvider.findMapReader(JSONReader readContext,
Class<?> type,
ResolvedType valueType,
ValueReader readerForValues) |
ValueReader |
ReaderWriterProvider.Pair.findMapReader(JSONReader ctxt,
Class<?> type,
ResolvedType valueType,
ValueReader readerForValues) |
ValueReader |
ReaderWriterModifier.modifyValueReader(JSONReader readContext,
Class<?> type,
ValueReader defaultReader)
Method called after
ValueReader to use has been constructed, but
before it is to be used for the first time. |
ValueReader |
ReaderWriterModifier.Pair.modifyValueReader(JSONReader ctxt,
Class<?> type,
ValueReader defaultReader) |
Modifier and Type | Class and Description |
---|---|
class |
AnyReader
ValueReader used for "untyped" values; ones that are bound
to whatever Object is the natural mapping to JSON
value that parser currently points to |
class |
ArrayReader
Reader for typed Array values.
|
class |
BeanReader
Class that contains information about dynamically introspected
Bean types, to be able to deserialize (read) JSON into a POJO
and serialize (write) POJO as JSON.
|
class |
CollectionReader
Reader for typed
Collection values. |
class |
EnumReader
Reader for Enum values: needed because we need a simple
Map
for efficient conversion from id (gotten with Enum.toString()
to value. |
class |
MapReader
Reader for typed
Map values. |
class |
SimpleValueReader
Default
ValueReader used for simple scalar types and related,
not including POJO-, Map and Collection
types. |
Modifier and Type | Field and Description |
---|---|
protected ValueReader |
MapReader._valueReader |
protected ValueReader |
CollectionReader._valueReader |
protected ValueReader |
ArrayReader._valueReader |
Modifier and Type | Field and Description |
---|---|
protected Map<ClassKey,ValueReader> |
ValueReaderLocator._incompleteReaders
During resolution, some readers may be in-progress, but need to be
linked: for example, with cyclic type references.
|
protected ConcurrentHashMap<ClassKey,ValueReader> |
ValueReaderLocator._knownReaders
Set of
ValueReader s that we have resolved |
Modifier and Type | Method and Description |
---|---|
protected ValueReader |
ValueReaderLocator._createReader(Class<?> contextType,
Class<?> type,
Type genericType) |
protected ValueReader |
ValueReaderLocator.arrayReader(Class<?> contextType,
Class<?> arrayType) |
protected ValueReader |
ValueReaderLocator.beanReader(Class<?> type) |
protected ValueReader |
ValueReaderLocator.collectionReader(Class<?> collectionType,
ResolvedType valueType) |
protected ValueReader |
ValueReaderLocator.collectionReader(Class<?> contextType,
Type collectionType) |
protected ValueReader |
ValueReaderLocator.createReader(Class<?> contextType,
Class<?> type,
Type genericType)
Factory method for creating standard readers of any declared type.
|
protected ValueReader |
ValueReaderLocator.enumReader(Class<?> enumType) |
ValueReader |
ValueReaderLocator.findReader(Class<?> raw)
Method used during deserialization to find handler for given
non-generic type: will first check for already resolved (and cached) readers
-- and return if one found -- and then if no cached reader found, create
one, cache, return.
|
ValueReader |
BeanPropertyReader.getReader() |
protected ValueReader |
ValueReaderLocator.mapReader(Class<?> mapType,
ResolvedType valueType) |
protected ValueReader |
ValueReaderLocator.mapReader(Class<?> contextType,
Type mapType) |
Modifier and Type | Method and Description |
---|---|
BeanPropertyReader |
BeanPropertyReader.withReader(ValueReader vr) |
Constructor and Description |
---|
ArrayReader(Class<?> arrayType,
Class<?> elementType,
ValueReader vr) |
BeanPropertyReader(BeanPropertyReader src,
ValueReader vr) |
CollectionReader(Class<?> t,
ValueReader vr) |
MapReader(Class<?> mapType,
ValueReader vr) |
Copyright © 2020 FasterXML. All rights reserved.