JSON

Json.parse('{"p":5}', function(k,v){ if(k==="")return v; return v*2; }); Json.parse('{"1":1,"2":2,"3":{"4":4,"5":{"6":6}}}',function(k,v){ console.log(k); return v; });
var code = '"\u2028\u2029"';
JSON.parse(code); // works fine
eval(code); // fails

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.