Hello I'm using jackson 2.8.8 with jackson-datatype-jsr310 extension. I notice that one time date time is serialized into:
"transactionDateTime" : "2017-06-13T16:21:40.123Z"
but another time into:
"transactionDateTime" : "2017-06-13T16:21:40.123+00:00"
First option shows most of times, but why sometimes Jackson is generating second one? My configuration:
jackson2ObjectMapper.setVisibility(PropertyAccessor.ALL, Visibility.NONE);
jackson2ObjectMapper.setVisibility(PropertyAccessor.FIELD, Visibility.ANY);
final JavaTimeModule javaTimeModule = new JavaTimeModule();
jackson2ObjectMapper.registerModule(javaTimeModule);
jackson2ObjectMapper.configure(SerializationFeature.INDENT_OUTPUT, true);
jackson2ObjectMapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);