org.codehaus.jackson.map
Interface JsonSerializableWithType
- All Superinterfaces:
- JsonSerializable
- All Known Implementing Classes:
- ArrayNode, BaseJsonNode, BigIntegerNode, BinaryNode, BooleanNode, ContainerNode, DecimalNode, DoubleNode, IntNode, JSONPObject, JSONWrappedObject, LongNode, MissingNode, NullNode, NumericNode, ObjectNode, POJONode, TextNode, ValueNode
public interface JsonSerializableWithType
- extends JsonSerializable
Interface that is to replace JsonSerializable
to
allow for dynamic type information embedding.
- Since:
- 1.5
- Author:
- tatu
serializeWithType
void serializeWithType(JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer)
throws IOException,
JsonProcessingException
- Throws:
IOException
JsonProcessingException