Deserialize “Zulu” time in ISO8601 format in jackson
问题 I have a need to de-serialize time of format 2016-11-28T10:34:25.097Z using Jackson into ZonedDateTime of Java8. I believe I correctly configured ObjectMapper (a factory method): @Bean ObjectMapper getObjectMapper() { ObjectMapper objectMapper = new ObjectMapper(); // some other config... objectMapper.registerModule(new JavaTimeModule()); return objectMapper; } And I have in my code for DTO a field @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSZ") private