Clone
Zoran Regvart
committed
on 22 Mar 18
CAMEL-12334: unify date (de)serialization handling
This adds support for using any of the following date/time classes:
- java.util.Date
- … Show more
CAMEL-12334: unify date (de)serialization handling

This adds support for using any of the following date/time classes:

- java.util.Date

- java.time.Instant

- java.time.LocalDate

- java.time.ZonedDateTime

- java.time.OffsetDateTime

With this all usage of Jackson `ObjectMapper` and `XStream` instances

goes through the single utility method in `JsonUtils` or `XStreamUtils`

in order to register default serializers/deserializers/converters.

Show less

master + 10 more