Package com.fasterxml.jackson.jr.ob.api
Class ReaderWriterProvider
- java.lang.Object
-
- com.fasterxml.jackson.jr.ob.api.ReaderWriterProvider
-
public abstract class ReaderWriterProvider extends java.lang.ObjectAPI to implement to provide customValueReaders andValueWriters.- Since:
- 2.10
-
-
Constructor Summary
Constructors Constructor Description ReaderWriterProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueReaderfindCollectionReader(JSONReader readContext, java.lang.Class<?> type, ResolvedType valueType, ValueReader readerForValues)ValueReaderfindMapReader(JSONReader readContext, java.lang.Class<?> type, ResolvedType valueType, ValueReader readerForValues)ValueReaderfindValueReader(JSONReader readContext, java.lang.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.ValueWriterfindValueWriter(JSONWriter writeContext, java.lang.Class<?> type)
-
-
-
Method Detail
-
findValueReader
public ValueReader findValueReader(JSONReader readContext, java.lang.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.- Parameters:
readContext- context object that may be needed for resolving dependant readerstype- Raw type of bean to find reader for
-
findCollectionReader
public ValueReader findCollectionReader(JSONReader readContext, java.lang.Class<?> type, ResolvedType valueType, ValueReader readerForValues)
-
findMapReader
public ValueReader findMapReader(JSONReader readContext, java.lang.Class<?> type, ResolvedType valueType, ValueReader readerForValues)
-
findValueWriter
public ValueWriter findValueWriter(JSONWriter writeContext, java.lang.Class<?> type)
-
-