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 replace `JsonSerializable` to allow for dynamic type information embedding.
  Since:
    1.5
  Author:
    tatu

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `serializeWithType(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 IOException,
                                        JsonProcessingException

      Throws:
        `IOException`
        `JsonProcessingException`