Sha256: 59e3c100c5bcfa4a973454da58fa9c40936dbea8d94253b1255ad40cd4aa29f0
Contents?: true
Size: 1.26 KB
Versions: 164
Compression:
Stored size: 1.26 KB
Contents
package sh.calaba.org.codehaus.jackson.map; import java.io.IOException; import sh.calaba.org.codehaus.jackson.JsonGenerator; import sh.calaba.org.codehaus.jackson.JsonProcessingException; /** * Interface that can be implemented by objects that know how to * serialize themselves to JSON, using {@link JsonGenerator} * (and {@link SerializerProvider} if necessary). *<p> * Note that implementing this interface binds implementing object * closely to Jackson API, and that it is often not necessary to do * so -- if class is a bean, it can be serialized without * implementing this interface. *<p> * NOTE: as of version 1.5, this interface is missing one crucial * aspect, that of dealing with type information embedding. * Because of this, this interface is deprecated, although will be * fully supported for all 1.x releases, and will work except for * cases where polymorphic type information handling is needed for * type (in which case implementing if {@link JsonSerializableWithType} is crucial). * * @see sh.calaba.org.codehaus.jackson.map.JsonSerializableWithType * * @since 1.5 */ @Deprecated public interface JsonSerializable { public void serialize(JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException; }
Version data entries
164 entries across 164 versions & 2 rubygems