Jackson format LocalDate on whole class as strings


I noticed jackson turns LocalDates 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 LocalDates 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.

Popular posts from this blog

The Dalles, Oregon

眉山市

清晰法令