code: public JsonMappingOption formatLocalDateBy(DateTimeFormatter localDateFormatter) {
          if (localDateFormatter == null) {
              throw new IllegalArgumentException("The argument 'localDateFormatter' should not be null.");
          }
          this.localDateFormatter = OptionalThing.of(localDateFormatter);
          return this;
      }
docs: ---------