Class SpaceDeserializer
- java.lang.Object
-
- org.codehaus.jackson.map.JsonDeserializer<Space>
-
- com.atlassian.confluence.rest.serialization.SpaceDeserializer
-
- All Implemented Interfaces:
org.codehaus.jackson.map.ResolvableDeserializer
public class SpaceDeserializer extends org.codehaus.jackson.map.JsonDeserializer<Space> implements org.codehaus.jackson.map.ResolvableDeserializer
Extracts Space links map from specific "hidden" _links map entries.
-
-
Constructor Summary
Constructors Constructor Description SpaceDeserializer(org.codehaus.jackson.map.JsonDeserializer<?> defaultDeserializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Space
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 Space deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt) throws IOException
- Specified by:
deserialize
in classorg.codehaus.jackson.map.JsonDeserializer<Space>
- Throws:
IOException
-
-