Package org.codehaus.jackson.map
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 TypeMethodDescriptionvoid
serializeWithType
(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) Methods inherited from interface org.codehaus.jackson.map.JsonSerializable
serialize
-
Method Details
-
serializeWithType
void serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) throws IOException, JsonProcessingException - Throws:
IOException
JsonProcessingException
-