This is also controlled by the ObjectMapper function (at least in version 1.9.11 and, possibly, earlier):
ObjectMapper om = new ObjectMapper(); om.configure(SerializationConfig.Feature.WRITE_DATES_AS_TIMESTAMPS, false); om.writer().writeValue(System.out, objectWithDateProperty);
I do not see how to declaratively execute the equivalent of the definition of the object itself.
source share