References Deprecated
StdSerializer is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
com.fasterxml.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 | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | serialize(Object
Value to serialize; can not be null. value, JsonGenerator Generator used to output resulting Json content g, SerializerProvider Provider that can be used to get serializers for
serializing Objects value contains, if any. ctxt)Implements abstract com. 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 | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| UnsupportedTypeSerializer | back to summary |
|---|---|
| public UnsupportedTypeSerializer(JavaType t, String msg) | |
| serialize | back to summary |
|---|---|
| public void serialize(Object value, JsonGenerator g, SerializerProvider ctxt) throws IOException Implements abstract com. Doc from com. Method that can be called to ask implementation to serialize values of type this serializer handles.
| |