lib/api/JsonSchemaLib/JsonSchemaLib.js
function JsonSchemaLib (config, plugins) {
  if (plugins === undefined && Array.isArray(config)) {
    plugins = config;
    config = undefined;
  }

  /**
   * The configuration for this instance of {@link JsonSchemaLib}.
   *
   * @type {Config}
   */
  this.config = new Config(config);

  /**
   * The plugins that have been added to this instance of {@link JsonSchemaLib}
   *
   * @type {object[]}
   */
  this.plugins = new PluginManager(plugins);
}
function JsonSchemaLib (config, plugins) {
  if (plugins === undefined && Array.isArray(config)) {
    plugins = config;
    config = undefined;
  }

  /**
   * The configuration for this instance of {@link JsonSchemaLib}.
   *
   * @type {Config}
   */
  this.config = new Config(config);

  /**
   * The plugins that have been added to this instance of {@link JsonSchemaLib}
   *
   * @type {object[]}
   */
  this.plugins = new PluginManager(plugins);
}
function JsonSchemaLib ( config , plugins ) { if ( plugins === undefined && Array . isArray ( config ) ) { plugins = config ; config = undefined ; } /**
   * The configuration for this instance of {@link JsonSchemaLib}.
   *
   * @type {Config}
   */ this . config = new Config ( config ) ; /**
   * The plugins that have been added to this instance of {@link JsonSchemaLib}
   *
   * @type {object[]}
   */ this . plugins = new PluginManager ( plugins ) ; }
The public JsonSchemaLib API.

@param {Config} [config] - The configuration to use. Can be overridden by {@link JsonSchemaLib#read}
@param {object[]} [plugins] - The plugins to use. Additional plugins can be added via {@link JsonSchemaLib#use}

@class
The public JsonSchemaLib API .