code: public void setGenerator(Map<JsonGenerator.Feature, Boolean> generator) {
          if (CollectionUtils.isNotEmpty(generator)) {
              this.generator = generator;
          }
      }
docs: Sets the generator features to use.
  @param generator The generator features