Class OptionSerializer
- java.lang.Object
-
- org.codehaus.jackson.map.JsonSerializer<T>
-
- org.codehaus.jackson.map.ser.std.SerializerBase<com.atlassian.fugue.Option>
-
- com.atlassian.confluence.rest.serialization.OptionSerializer
-
- All Implemented Interfaces:
org.codehaus.jackson.schema.SchemaAware
@Deprecated public class OptionSerializer extends org.codehaus.jackson.map.ser.std.SerializerBase<com.atlassian.fugue.Option>
Deprecated.since 7.0.1. Fugue options shouldn't be used in REST API.OptionalSerializer
is doing the same thing for serialisingOptional
Serialize fugue Option classes. Serializes the property if it is defined, or leaves it absent if it is not
-
-
Constructor Summary
Constructors Constructor Description OptionSerializer()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
serialize(com.atlassian.fugue.Option option, org.codehaus.jackson.JsonGenerator jgen, org.codehaus.jackson.map.SerializerProvider provider)
Deprecated.-
Methods inherited from class org.codehaus.jackson.map.ser.std.SerializerBase
createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
-
-
-
-
Method Detail
-
serialize
public void serialize(com.atlassian.fugue.Option option, org.codehaus.jackson.JsonGenerator jgen, org.codehaus.jackson.map.SerializerProvider provider) throws IOException
Deprecated.- Specified by:
serialize
in classorg.codehaus.jackson.map.ser.std.SerializerBase<com.atlassian.fugue.Option>
- Throws:
IOException
-
-