blob: 5e8f489293c9f10de9e8c75893d0f2f87abe9160 [file] [log] [blame]
package org.codehaus.jackson.map;
import java.io.IOException;
import org.codehaus.jackson.JsonGenerator;
import org.codehaus.jackson.JsonProcessingException;
/**
* Interface that is to replace {@link JsonSerializable} to
* allow for dynamic type information embedding.
*
* @since 1.5
* @author tatu
*/
@SuppressWarnings("deprecation")
public interface JsonSerializableWithType
extends JsonSerializable
{
public void serializeWithType(JsonGenerator jgen, SerializerProvider provider,
TypeSerializer typeSer)
throws IOException, JsonProcessingException;
}