com.fasterxml.jackson.databind.util.ISO8601DateFormat is deprecated since 2.9 but I couldn't find any information about how to replace its current usage while upgrading.
So far, I checked the following locations:
But no luck...
I suspect that I could probably just delete objectMapper.setDateFormat(new ISO8601DateFormat()); and be fine but I wanted to double-check.
So this is a bug report against the documentation, not the code. If it can be safely removed and dates are still serialized as ISO-8601 strings then this should be mentioned somewhere.
com.fasterxml.jackson.databind.util.ISO8601DateFormatis deprecated since 2.9 but I couldn't find any information about how to replace its current usage while upgrading.So far, I checked the following locations:
But no luck...
I suspect that I could probably just delete
objectMapper.setDateFormat(new ISO8601DateFormat());and be fine but I wanted to double-check.So this is a bug report against the documentation, not the code. If it can be safely removed and dates are still serialized as ISO-8601 strings then this should be mentioned somewhere.