You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of today, in order to serialize/deserialize the "new" datatypes introduced in Java 8 (e.g. Optional<T>), you need to provide a custom ObjectMapper (as explained here) and register the corresponding Jackson extension for handling those types (i.e. jackson-modules-java8 for Jackson < 2.8.5 and jackson-modules-java8 for Jackson >= 2.8.5).
I guess it would be nice to provide this functionality out of the box.
The text was updated successfully, but these errors were encountered:
As of today, in order to serialize/deserialize the "new" datatypes introduced in Java 8 (e.g.
Optional<T>
), you need to provide a customObjectMapper
(as explained here) and register the corresponding Jackson extension for handling those types (i.e. jackson-modules-java8 for Jackson < 2.8.5 and jackson-modules-java8 for Jackson >= 2.8.5).I guess it would be nice to provide this functionality out of the box.
The text was updated successfully, but these errors were encountered: