ValueReaders and
ValueWriters of all kinds (default scalar ones, custom ones,
POJO ones).
| Modifier and Type | Class and Description |
|---|---|
| public static class | ReaderWriterModifier.
Implementation that allows chaining of two modifiers, one (first) with higher precedence than the other (second). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValueReader | modifyValueReader(JSONReader
Context that may be used to access configuration readContext, Class<?> Type of values to read type, ValueReader ValueReader that is to be usedMethod called after |
| public ValueWriter | modifyValueWriter(JSONWriter
Context that may be used to access configuration writeContext, Class<?> Type of values to write type, ValueWriter ValueReader that is to be usedMethod called after |
| public ValueWriter | overrideStandardValueWriter(JSONWriter
Context that may be used to access configuration writeContext, Class<?> Type of values to write type, int Internal identifier of standard type (not usually useful,
but could potentially be used for delegating) stdTypeId)Method called instead of |
| public POJODefinition | |
| public POJODefinition |
| ReaderWriterModifier | back to summary |
|---|---|
| public ReaderWriterModifier() | |
| modifyValueReader | back to summary |
|---|---|
| public ValueReader modifyValueReader(JSONReader readContext, Class<?> type, ValueReader defaultReader) Method called after
This method is often used to create a new
| |
| modifyValueWriter | back to summary |
|---|---|
| public ValueWriter modifyValueWriter(JSONWriter writeContext, Class<?> type, ValueWriter defaultWriter) Method called after
Note that this method is NOT called for non-POJO JDK "standard" values that
jackson-jr supports (such as
This method is often used to create a new
| |
| overrideStandardValueWriter | back to summary |
|---|---|
| public ValueWriter overrideStandardValueWriter(JSONWriter writeContext, Class<?> type, int stdTypeId) Method called instead of
| |
| pojoDefinitionForDeserialization | back to summary |
|---|---|
| public POJODefinition pojoDefinitionForDeserialization(JSONReader readContext, Class<?> pojoType) | |
| pojoDefinitionForSerialization | back to summary |
|---|---|
| public POJODefinition pojoDefinitionForSerialization(JSONWriter writeContext, Class<?> pojoType) | |
| Modifier and Type | Field and Description |
|---|---|
| protected final ReaderWriterModifier | |
| protected final ReaderWriterModifier |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public ValueReader | modifyValueReader(JSONReader
Context that may be used to access configuration ctxt, Class<?> Type of values to read type, ValueReader ValueReader that is to be usedOverrides com. Method called after |
| public ValueWriter | modifyValueWriter(JSONWriter
Context that may be used to access configuration ctxt, Class<?> Type of values to write type, ValueWriter ValueReader that is to be usedOverrides com. Method called after |
| public static ReaderWriterModifier | Returns: Provider instance either constructed (2 non-null providers), or non-null provider given as-is, or, if both nulls,null.Primary provider primary, ReaderWriterModifier Secondary provider secondary)Factory method for "combining" given 2 modifiers so that if neither is |
| public ValueWriter | overrideStandardValueWriter(JSONWriter
Context that may be used to access configuration ctxt, Class<?> Type of values to write type, int Internal identifier of standard type (not usually useful,
but could potentially be used for delegating) stdTypeId)Overrides com. Method called instead of |
| public POJODefinition | |
| public POJODefinition | pojoDefinitionForSerialization(JSONWriter ctxt, Class<?> pojoType)
Overrides com.
|
| _primary | back to summary |
|---|---|
| protected final ReaderWriterModifier _primary | |
| _secondary | back to summary |
|---|---|
| protected final ReaderWriterModifier _secondary | |
| Pair | back to summary |
|---|---|
| protected Pair(ReaderWriterModifier p, ReaderWriterModifier s) | |
| modifyValueReader | back to summary |
|---|---|
| public ValueReader modifyValueReader(JSONReader ctxt, Class<?> type, ValueReader defaultReader) Overrides com. Doc from com. Method called after
This method is often used to create a new
| |
| modifyValueWriter | back to summary |
|---|---|
| public ValueWriter modifyValueWriter(JSONWriter ctxt, Class<?> type, ValueWriter defaultWriter) Overrides com. Doc from com. Method called after
Note that this method is NOT called for non-POJO JDK "standard" values that
jackson-jr supports (such as
This method is often used to create a new
| |
| of | back to summary |
|---|---|
| public static ReaderWriterModifier of(ReaderWriterModifier primary, ReaderWriterModifier secondary) Factory method for "combining" given 2 modifiers so that if neither is
| |
| overrideStandardValueWriter | back to summary |
|---|---|
| public ValueWriter overrideStandardValueWriter(JSONWriter ctxt, Class<?> type, int stdTypeId) Overrides com. Doc from com. Method called instead of
| |
| pojoDefinitionForDeserialization | back to summary |
|---|---|
| public POJODefinition pojoDefinitionForDeserialization(JSONReader ctxt, Class<?> pojoType) Overrides com.
| |
| pojoDefinitionForSerialization | back to summary |
|---|---|
| public POJODefinition pojoDefinitionForSerialization(JSONWriter ctxt, Class<?> pojoType) Overrides com.
| |