js/jquery-json/jquery.json-2.3.js
Function toJSON
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
: function( o ) {
if ( o === null ) {
return 'null';
}
Avoid too many return
statements within this function. Open
Open
return '"' + year + '-' + month + '-' + day + 'T' +
hours + ':' + minutes + ':' + seconds +
'.' + milli + 'Z"';
Avoid too many return
statements within this function. Open
Open
return $.toJSON( o.toJSON() );
Avoid too many return
statements within this function. Open
Open
return '[' + ret.join(',') + ']';
Avoid too many return
statements within this function. Open
Open
return '{' + pairs.join( ',' ) + '}';