Sha256: 5ae9c9bc6d3d3d456300e6ea4b1b5c153464fbe9d5fe6930b0bce71bdfd99087
Contents?: true
Size: 1.9 KB
Versions: 5
Compression:
Stored size: 1.9 KB
Contents
/** * The JSON encode/decode feature * * Copyright (C) 2009-2010 Nikolay V. Nemshilov */ eval((function(s,d){for(var i=d.length-1;i>-1;i--)if(d[i])s=s.replace(new RegExp(i,'g'),d[i]);return s})("15 12=(11(d){15 a=/[\\u52\\43\\49-\\45\\46\\50\\48\\37-\\47\\44-\\42\\40-\\38\\34\\36-\\39]/g,f={'\\b':'\\\\b','\\t':'\\\\t','\\n':'\\\\n','\\f':'\\\\f','\\r':'\\\\r','\"':'\\\\\"','\\\\\': '\\\\\\\\\'},q=/[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\43\\49-\\45\\46\\50\\48\\37-\\47\\44-\\42\\40-\\38\\34\\36-\\39]/g;11 e(s){3 s.14(q,11(c){3 f[c]||'\\\\u'+('52'+c.22(0).29(16)).41(-4)})};15 z=11(n){3(n<10?'0':'')+n};15 g=d?d.13:11(v){if(v===27)3 '27';18 if(v.to12)3 v.to12();18 switch(typeof(v)){24 'boolean':3 30(v);24 'number':3 30(v+0);24 'string':3 '\"'+e(v)+'\"';24 'object':if(v 21 Array)3 '['+v.map(12.13).53(',')+']';18 if(v 21 56)3 v.55UTCFullYear()+'-'+z(v.55UTCMonth()+1)+'-'+z(v.55UTC56())+'T'+z(v.55UTCHours())+':'+z(v.55UTCMinutes())+':'+z(v.55UTCSeconds())+'.'+z(v.55Milliseconds())+'Z';18{15 r=[];for(15 k in v)r.push(12.23(k)+\":\"+12.23(v[k]));3 '{'+r.53(',')+'}'}}};15 p=d?d.19:11(s){if(is30(s)&&s){s=s.14(a,11(b){3 '\\\\u'+('52'+b.22(0).29(16)).41(-4)});if(/^[\\],:{}\\s]*$/.test(s.14(/\\\\(?:[\"\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g,'@').14(/\"[^\"\\\\\\n\\r]*\"|true|false|27|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g,']').14(/(?:^|:|,)(?:\\s*\\[)+/g,'')))3 eval('('+s+')')}35 \"12 19 error: \"+s};3{13:g,19:p,23:g,32:p}})(self.12);if(window['31'])(11(C){15 a=C.54,o=C.55;$ext(C,{54:11(v){3 a.51(26,12.13(v))},55:11(){3 12.19(o.51(26))}})})(31.25);Xhr.25.sanitized12=11(){try{3 12.32(26.text)}catch(e){if(26.secure12)35 e;18 3 27}};",",,,return,,,,,,,,function,JSON,stringify,replace,var,,,else,parse,,instanceof,charCodeAt,encode,case,prototype,this,null,,toString,String,Cookie,decode,toJSON,ufeff,throw,ufff0,u200c,u206f,uffff,u2060,slice,u202f,u00ad,u2028,u0604,u070f,u200f,u17b5,u0600,u17b4,call,0000,join,set,get,Date".split(",")));
Version data entries
5 entries across 5 versions & 1 rubygems