Interface JsonSerializableWithType
- All Superinterfaces:
JsonSerializable
- All Known Implementing Classes:
ArrayNode, ArrayType, BaseJsonNode, BigIntegerNode, BinaryNode, BooleanNode, CollectionLikeType, CollectionType, ContainerNode, DecimalNode, DoubleNode, IntNode, JSONPObject, JSONWrappedObject, LongNode, MapLikeType, MapType, MissingNode, NullNode, NumericNode, ObjectNode, POJONode, SimpleType, TextNode, TypeBase, ValueNode
Interface that is to replace
JsonSerializable to
allow for dynamic type information embedding.- Since:
- 1.5
- Author:
- tatu
-
Method Summary
Modifier and TypeMethodDescriptionvoidserializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) Methods inherited from interface JsonSerializable
serialize
-
Method Details
-
serializeWithType
void serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) throws IOException, JsonProcessingException - Throws:
IOExceptionJsonProcessingException
-