Changes

Jump to navigation Jump to search
m
no edit summary
Line 86: Line 86:     
function interjson(obj) {
 
function interjson(obj) {
return JSON.parse( obj );
+
var ne;
 +
try {
 +
ne = JSON.parse( obj )
 +
} catch (e) {
 +
// if not JSON, do silly things
 +
  };
 +
  return ne;
 
}
 
}
  
530

edits

Navigation menu