com.atlassian.confluence.rest.serialization
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
public class OptionSerializer
- extends org.codehaus.jackson.map.ser.std.SerializerBase<com.atlassian.fugue.Option>
Serialize fugue Option classes. Serializes the property if it is defined, or leaves it absent if it is not
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer |
org.codehaus.jackson.map.JsonSerializer.None |
Fields inherited from class org.codehaus.jackson.map.ser.std.SerializerBase |
_handledType |
Method Summary |
void |
serialize(com.atlassian.fugue.Option option,
org.codehaus.jackson.JsonGenerator jgen,
org.codehaus.jackson.map.SerializerProvider provider)
|
Methods inherited from class org.codehaus.jackson.map.ser.std.SerializerBase |
createObjectNode, createSchemaNode, createSchemaNode, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow |
Methods inherited from class org.codehaus.jackson.map.JsonSerializer |
isUnwrappingSerializer, serializeWithType, unwrappingSerializer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptionSerializer
public OptionSerializer()
serialize
public void serialize(com.atlassian.fugue.Option option,
org.codehaus.jackson.JsonGenerator jgen,
org.codehaus.jackson.map.SerializerProvider provider)
throws java.io.IOException
- Specified by:
serialize
in class org.codehaus.jackson.map.ser.std.SerializerBase<com.atlassian.fugue.Option>
- Throws:
java.io.IOException
Copyright © 2003-2014 Atlassian. All Rights Reserved.