SET spring.jackson.serialization.write-dates-as-timestamps & date-format to ISO1806 globally
I know, there are several similar questions about that problem but I cant find any satisfying solution. Thats why I would like to reopen it here. I want to set the JSON serialization of Dates (java.util) in SpringBoot to ISO1806 format globally. I tried: add dependecy: com.fasterxml.jackson.datatype:jackson-datatype-joda set property: spring.jackson.serialization.write-dates-as-timestamps=false spring.jackson.date-format=yyyy-MM-dd'T'HH:mm:ss'Z' e.g. -didnt work. Still TimeStamps Also tried some other solutions but they didnt work or were deprecated or hacked etc... So how to solve it correctl
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.