Class LegacyOptionSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<com.atlassian.fugue.Option>
com.atlassian.confluence.ui.rest.json.LegacyOptionSerializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
@Deprecated
public class LegacyOptionSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<com.atlassian.fugue.Option>
Deprecated.
Serialize 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
LegacyOptionSerializer
public LegacyOptionSerializer()Deprecated.
-
-
Method Details
-
serialize
public void serialize(com.atlassian.fugue.Option option, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonProcessingException Deprecated.- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<com.atlassian.fugue.Option>
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
-
handledType
Deprecated.- Overrides:
handledType
in classcom.fasterxml.jackson.databind.JsonSerializer<com.atlassian.fugue.Option>
-
com.atlassian.confluence.rest.serialization.OptionSerializer