tools.jackson.databind.exc.InvalidDefinitionException if its serialize
gets invoked. Most commonly registered as handler for unknown types,
as well as for catching unintended usage (like trying to use null
as Map/Object key).
| Modifier and Type | Field and Description |
|---|---|
| protected final String | |
| protected final JavaType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | serialize(Object value, JsonGenerator g, SerializationContext ctxt)
Implements abstract tools. Method that can be called to ask implementation to serialize values of type this serializer handles. |
| _message | back to summary |
|---|---|
| protected final String _message | |
| _type | back to summary |
|---|---|
| protected final JavaType _type | |
| UnsupportedTypeSerializer | back to summary |
|---|---|
| public UnsupportedTypeSerializer(JavaType t, String msg) | |
| serialize | back to summary |
|---|---|
| public void serialize(Object value, JsonGenerator g, SerializationContext ctxt) throws JacksonException Implements abstract tools. Doc from tools. Method that can be called to ask implementation to serialize values of type this serializer handles.
| |