| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | serializeWithType(Object value, JsonGenerator g, SerializationContext ctxt, TypeSerializer typeSer)
Overrides tools. Default implementation will write type prefix, call regular serialization method (since assumption is that value itself does not need JSON Array or Object start/end markers), and then write type suffix. |
| public String | valueToString(Object value)
Implements abstract tools.
|
| ZoneIdSerializer | back to summary |
|---|---|
| public ZoneIdSerializer() | |
| serializeWithType | back to summary |
|---|---|
| public void serializeWithType(Object value, JsonGenerator g, SerializationContext ctxt, TypeSerializer typeSer) throws JacksonException Overrides tools. Doc from tools. Default implementation will write type prefix, call regular serialization method (since assumption is that value itself does not need JSON Array or Object start/end markers), and then write type suffix. This should work for most cases; some sub-classes may want to change this behavior.
| |
| valueToString | back to summary |
|---|---|
| public String valueToString(Object value) Implements abstract tools.
| |