Class CustomISO8601LocalDateTimeDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<java.time.LocalDateTime>
-
- de.gematik.ti.vauchannel.protocol.helpers.CustomISO8601LocalDateTimeDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class CustomISO8601LocalDateTimeDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<java.time.LocalDateTime>
-
-
Constructor Summary
Constructors Constructor Description CustomISO8601LocalDateTimeDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.LocalDateTimedeserialize(com.fasterxml.jackson.core.JsonParser jsonparser, com.fasterxml.jackson.databind.DeserializationContext context)The ISO-like date-time formatter that formats or parses a date-time with the offset and zone if available, such as '2011-12-03T10:15:30', '2011-12-03T10:15:30+01:00' or '2011-12-03T10:15:30+01:00[Europe/Paris]'.-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
Method Detail
-
deserialize
public java.time.LocalDateTime deserialize(com.fasterxml.jackson.core.JsonParser jsonparser, com.fasterxml.jackson.databind.DeserializationContext context) throws java.io.IOException, com.fasterxml.jackson.core.JsonProcessingExceptionThe ISO-like date-time formatter that formats or parses a date-time with the offset and zone if available, such as '2011-12-03T10:15:30', '2011-12-03T10:15:30+01:00' or '2011-12-03T10:15:30+01:00[Europe/Paris]'. (see javadocs for java/time/format/DateTimeFormatter)- Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<java.time.LocalDateTime>- Throws:
java.io.IOExceptioncom.fasterxml.jackson.core.JsonProcessingException
-
-