I need to set a specific format for any serialized LocalTime with jackson.
It works fine with @JsonFormat, but this is only valid for specific properties and not for all serialized with ObjectMapper. Besides, I use a custom BeanSerializerModifier and it doesn't seem to recognize the properties marked with @JsonFormat.
I can do it for dates using ObjectMapper.setDateFormat, however, there doesn't seem to be a method like it for times. Is there any easy way of doing it?