-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjson_encode.min.js
1 lines (1 loc) · 2.13 KB
/
json_encode.min.js
1
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('k L=8;k B=1;k O=2;k I=4;k Q=14;k K=13;k H=12;k V=16;p w(5,c=0){h U=G.11.S;M(U.1c(5)){d\'[l 1d]\':7 P(5,c);6;d\'[l 18]\':e(5%1===0){7 5}g{7 N(5)?5:0}6;d\'[l 1a]\':7 5?R:E;6;d\'[l 19]\':7 o;6;d\'[l 1b]\':7 o;6;d\'[l G]\':7 C(5,c);6;d\'[l 17]\':7 C(5,c);6;d\'[l 1e]\':7 o;6;J:7 o;6}}p P(5,c){h v=0;h q=5.x;e(q==0){7\'""\'}e(c&Q){e(!Y(W(5))){e(5%1===0){7 5}g{7 N(5)?5:0}}}e(q==o){7 o}g e(q==0){7\'""\'}h 3=\'"\';15(v<q){i=5.1f(v);M(i){d\'"\':e(c&L){3+="\\\\1n"}g{3+="\\\\\\""}6;d\'\\\\\':3+="\\\\\\\\";6;d\'/\':e(c&K){3+=i}g{3+="\\\\/"}6;d\'\\b\':3+="\\\\b";6;d\'\\f\':3+="\\\\f";6;d\'\\n\':3+="\\\\n";6;d\'\\r\':3+="\\\\r";6;d\'\\t\':3+="\\\\t";6;d\'<\':e(c&B){3+="\\\\1m"}g{3+=\'<\'}6;d\'>\':e(c&B){3+="\\\\1i"}g{3+=\'>\'}6;d\'&\':e(c&O){3+="\\\\1h"}g{3+=\'&\'}6;d\'\\\'\':e(c&I){3+="\\\\1g"}g{3+=\'\\\'\'}6;J:e((i>=\' \'&&(i&1l)==i)||T(i)||X(i)||(c&H)){3+=i}g{3+="\\\\u"+W(i.1k(0),10).S(16)}6}v++}3+=\'"\';7 3}p T(j){7((\'0\'<=j)&&(j<=\'9\'))}p X(j){7(((\'a\'<=j)&&(j<=\'z\'))||((\'A\'<=j)&&(j<=\'Z\')))}p s(5,c){e(c&V){7 E}h F=0;y(h m D 5){e(m==F){F++}g{7 E}}7 R}p C(5,c){e(!s(5,c)){h 3=\'{\'}g{h 3=\'[\'}e(!s(5,c)){y(h m D 5){3+=w(m,c)+\':\'+w(5[m],c);3+=\',\'}}g{y(h m D 5){3+=w(5[m]);3+=\',\'}}e(3.x>1){3=3.1j(0,3.x-1)}e(!s(5,c)){3+=\'}\'}g{3+=\']\'}7 3}',62,86,'|||result||val|break|return|||||options|case|if||else|var|us|cCheck|const|object|item||null|function|len||is_index_array|||pos|json_encode|length|for|||JSON_HEX_TAG|json_encode_array|in|false|index|Object|JSON_UNESCAPED_UNICODE|JSON_HEX_APOS|default|JSON_UNESCAPED_SLASHES|JSON_HEX_QUOT|switch|isFinite|JSON_HEX_AMP|json_escape_string|JSON_NUMERIC_CHECK|true|toString|IsDigit|gettype|JSON_FORCE_OBJECT|parseInt|IsAlpha|isNaN|||prototype|256|64|32|while||Array|Number|Undefined|Boolean|Null|call|String|Function|charAt|u0027|u0026|u003E|substring|charCodeAt|127|u003C|u0022'.split('|'),0,{}))