Class LegacyOptionSerializer
- java.lang.Object
-
- org.codehaus.jackson.map.JsonSerializer<com.atlassian.fugue.Option>
-
- com.atlassian.confluence.ui.rest.json.LegacyOptionSerializer
-
@Deprecated public class LegacyOptionSerializer extends org.codehaus.jackson.map.JsonSerializer<com.atlassian.fugue.Option>
Deprecated.since 7.0.1 , useOptionSerializerSerialize fugue Option classes. Currently this works the same way the SoyData default serializer works - by converting either to an empty array or a single-element array. The plan is to migrate both serializations to remove the property if it is not resolved.
-
-
Constructor Summary
Constructors Constructor Description LegacyOptionSerializer()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Class<com.atlassian.fugue.Option>handledType()Deprecated.voidserialize(com.atlassian.fugue.Option option, org.codehaus.jackson.JsonGenerator jgen, org.codehaus.jackson.map.SerializerProvider provider)Deprecated.
-
-
-
Method Detail
-
serialize
public void serialize(com.atlassian.fugue.Option option, org.codehaus.jackson.JsonGenerator jgen, org.codehaus.jackson.map.SerializerProvider provider) throws IOException, org.codehaus.jackson.JsonProcessingExceptionDeprecated.- Specified by:
serializein classorg.codehaus.jackson.map.JsonSerializer<com.atlassian.fugue.Option>- Throws:
IOExceptionorg.codehaus.jackson.JsonProcessingException
-
handledType
public Class<com.atlassian.fugue.Option> handledType()
Deprecated.- Overrides:
handledTypein classorg.codehaus.jackson.map.JsonSerializer<com.atlassian.fugue.Option>
-
-