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
public interface JsonSerializableWithType extends JsonSerializable
Interface that is to replaceJsonSerializableto allow for dynamic type information embedding.- Since:
- 1.5
- Author:
- tatu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidserializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)-
Methods inherited from interface org.codehaus.jackson.map.JsonSerializable
serialize
-
-
-
-
Method Detail
-
serializeWithType
void serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) throws java.io.IOException, JsonProcessingException
- Throws:
java.io.IOExceptionJsonProcessingException
-
-