spring-framework / org.springframework.http.converter.json / Jackson2ObjectMapperFactoryBean / setSimpleDateFormat

setSimpleDateFormat

open fun setSimpleDateFormat(format: String): Unit

Define the date/time format with a SimpleDateFormat.

Note: Setting this property makes the exposed ObjectMapper non-thread-safe, according to Jackson's thread safety rules.

See Also
#setDateFormat(DateFormat)