code: public JsonGenerator configure(Feature f, boolean state)
      {
          if (state) {
              enable(f);
          } else {
              disable(f);
          }
          return this;
      }
docs: Method for enabling or disabling specified feature:
  check {@link Feature} for list of available features.
  
  @return Generator itself (this), to allow chaining
  
  @since 1.2