src/aria/core/JsonValidator.js
function (json, beanName, throwsErrors) {
                if (!this._options.checkEnabled) {
                    return true;
                }
                this._options.addDefaults = false;
                return this.__logAllErrors(this._processJsonValidation({
                    json : json,
                    beanName : beanName
                }), throwsErrors);
            }
function (json, beanName, throwsErrors) {
                if (!this._options.checkEnabled) {
                    return true;
                }
                this._options.addDefaults = false;
                return this.__logAllErrors(this._processJsonValidation({
                    json : json,
                    beanName : beanName
                }), throwsErrors);
            }
function ( json , beanName , throwsErrors ) { if ( ! this . _options . checkEnabled ) { return true ; } this . _options . addDefaults = false ; return this . __logAllErrors ( this . _processJsonValidation ( { json : json , beanName : beanName } ) , throwsErrors ) ; }
Check that the json structure complies with the given bean. All errors are logged.
@param {Object} json json to check;
@param {String} bean bean to use
@param {Boolean} throwsErrors (default false)
@return {Boolean} true if the json structure complies with the given bean, false otherwise
Check that the json structure complies with the given bean . All errors are logged .