Class DateTimeLongDeserializer
- java.lang.Object
-
- org.codehaus.jackson.map.JsonDeserializer<org.joda.time.DateTime>
-
- com.atlassian.confluence.api.serialization.DateTimeLongDeserializer
-
public class DateTimeLongDeserializer extends org.codehaus.jackson.map.JsonDeserializer<org.joda.time.DateTime>
JSON deserializer that converts an EPOCH long to aDateTime
instance.- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description DateTimeLongDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.DateTime
deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt)
-
-
-
Method Detail
-
deserialize
public org.joda.time.DateTime deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt) throws IOException
- Specified by:
deserialize
in classorg.codehaus.jackson.map.JsonDeserializer<org.joda.time.DateTime>
- Throws:
IOException
-
-