code: public ConfigRenderOptions setJson(boolean value) {
          if (value == json)
              return this;
          else
              return new ConfigRenderOptions(originComments, comments, formatted, value);
      }
docs: Returns options with JSON toggled. JSON means that HOCON extensions
  (omitting commas, quotes for example) won't be used. However, whether to
  use comments is controlled by the separate {@link #setComments(boolean)}
  and {@link #setOriginComments(boolean)} options. So if you enable
  comments you will get invalid JSON despite setting this to true.
  
  @param value
  true to include non-JSON extensions in the render
  @return options with requested setting for JSON