All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.json.JSONParserConfiguration Maven / Gradle / Ivy

Go to download

JSON is a light-weight, language independent, data interchange format. See http://www.JSON.org/ The files in this package implement JSON encoders/decoders in Java. It also includes the capability to convert between JSON and XML, HTTP headers, Cookies, and CDL. This is a reference implementation. There are a large number of JSON packages in Java. Perhaps someday the Java community will standardize on one. Until then, choose carefully.

The newest version!
package org.json;

/**
 * Configuration object for the JSON parser. The configuration is immutable.
 */
public class JSONParserConfiguration extends ParserConfiguration {

  /**
   * Configuration with the default values.
   */
  public JSONParserConfiguration() {
    super();
  }

  @Override
  protected JSONParserConfiguration clone() {
    return new JSONParserConfiguration();
  }

  @SuppressWarnings("unchecked")
  @Override
  public JSONParserConfiguration withMaxNestingDepth(final int maxNestingDepth) {
    return super.withMaxNestingDepth(maxNestingDepth);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy