Lines Matching refs:utils
12 var utils = { variable
47 switch(utils.getClass(val)) {
55 throw new Error('Bad type: ' + utils.getClass(val));
66 var type = utils.getType(obj),
118 switch (utils.getType(jsonObj)) {
174 var nodeType = utils.getType(val);
179 throw new Error('Bad type: ' + utils.getClass(val));
345 utils.inherits(NodeBoolean,_NodeSimple);
365 utils.inherits(NodeNumber,_NodeSimple);
385 utils.inherits(NodeString,_NodeSimple);
404 utils.inherits(NodeNull,_NodeSimple);
516 utils.forEachNode(val, function(label, node, isLast) {
526 utils.inherits(_NodeComplex, _NodeSimple);
528 utils.extend(_NodeComplex.prototype, {
655 utils.inherits(NodeObject,_NodeComplex);
676 utils.inherits(NodeArray, _NodeComplex);
717 if (!utils.isValidRoot(jsonObj)) {