Class ContentDeserializer
- java.lang.Object
-
- org.codehaus.jackson.map.JsonDeserializer<Content>
-
- com.atlassian.confluence.rest.serialization.ContentDeserializer
-
- All Implemented Interfaces:
org.codehaus.jackson.map.ResolvableDeserializer
public class ContentDeserializer extends org.codehaus.jackson.map.JsonDeserializer<Content> implements org.codehaus.jackson.map.ResolvableDeserializer
Extracts Content links map from specific "hidden" _links map entries.
-
-
Constructor Summary
Constructors Constructor Description ContentDeserializer(org.codehaus.jackson.map.JsonDeserializer<?> defaultDeserializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Content
deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt)
void
resolve(org.codehaus.jackson.map.DeserializationConfig config, org.codehaus.jackson.map.DeserializerProvider provider)
-
-
-
Method Detail
-
resolve
public void resolve(org.codehaus.jackson.map.DeserializationConfig config, org.codehaus.jackson.map.DeserializerProvider provider) throws org.codehaus.jackson.map.JsonMappingException
- Specified by:
resolve
in interfaceorg.codehaus.jackson.map.ResolvableDeserializer
- Throws:
org.codehaus.jackson.map.JsonMappingException
-
deserialize
public Content deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt) throws IOException
- Specified by:
deserialize
in classorg.codehaus.jackson.map.JsonDeserializer<Content>
- Throws:
IOException
-
-