Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

json date format for localdate java

ObjectMapper mapper = new ObjectMapper();
mapper.registerModule(new JavaTimeModule());
mapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #json #date #format #localdate #java
ADD COMMENT
Topic
Name
3+2 =