@Override
    public void writeValue(JSONWriter context, JsonGenerator g, Object value) throws IOException {
      context.writeValue(((LocalDate) value).format(DateTimeFormatter.ISO_LOCAL_DATE));
    }
Adapted from https://www.andersaaberg.dk/2020/enable-support-for-java-time-with-jackson-jr/ This
adds Java Time support to Jackson JR
jackson-jr/src/test/java/feign/jackson/jr/JavaLocalDateExtension.java