code: protected JsonGenerator _config(JsonGenerator g)
      {
          // First, possible pretty printing
          PrettyPrinter pp = _prettyPrinter;
          if (pp != null) {
              if (pp instanceof Instantiatable<?>) {
                  pp = (PrettyPrinter) ((Instantiatable<?>) pp).createInstance();
              }
              g.setPrettyPrinter(pp);
          } else if (isEnabled(Feature.PRETTY_PRINT_OUTPUT)) {
              g.useDefaultPrettyPrinter();
          }
          return g;
      }
docs: /*
  ********************************************************************
  /* Internal methods, other
  ********************************************************************