Closed ssozonoff closed 7 years ago
you need your own serializer if jackson doesn't support that type out of the box. Have a look at https://github.com/ScaCap/spring-auto-restdocs/blob/master/spring-auto-restdocs-example/src/main/java/capital/scalable/restdocs/example/jackson/MoneySerializer.java And register it when constructing ObjectMapper https://github.com/ScaCap/spring-auto-restdocs/blob/master/spring-auto-restdocs-example/src/main/java/capital/scalable/restdocs/example/jackson/JsonConfiguration.java
Were you able to succeed with my pointers?
All good thank you.
Hi All,
What would be the correct way to deal with a field of type OffsetDateTime
Currently it is being completely enumerated which I dont want.
...... cut the remainder but you get the idea `
Kind thanks, Serge