Jackson format LocalDate on whole class as strings
I noticed jackson turns LocalDate
s to [2018,06,01]
which sucks
I can annotate a specific variable/method for it to be properly formatted like so:
Which is fine but I have several LocalDate
s in my class, I'd rather have a single class level annotation, so: Is there an annotation I can use on my class to format them automatically? (I already tried googled but found nothing)
Ideally I want something like:
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.