json-min.js ( File view )

  • By zzhan08 2014-11-01
  • View(s):104
  • Download(s):0
  • Point(s): 2
			/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
*/
YAHOO.lang.JSON=(function(){
var l=YAHOO.lang,_UNICODE_EXCEPTIONS=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_ESCAPES=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{
4
})/g,_VALUES=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,_BRACKETS=/(?:^|:|,)(?:\s*\[)+/g,_INVALID=/^[\],:{

}\s]*$/,_SPECIAL_CHARS=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_CHARS={
"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"
};function _revive(data,reviver){
var walk=function(o,key){
var k,v,value=o[key];if(value&&typeof value==="object"){
for(k in value){
if(l.hasOwnProperty(value,k)){
v=walk(value,k);if(v===undefined){
delete value[k];
}else{
value[k]=v;
}
}
}
}return reviver.call(o,key,value);
};return typeof reviver==="function"?walk({
"":data
},""):data;
}function _char(c){
if(!_CHARS[c]){
_CHARS[c]="\\u"+("0000"+(+(c.charCodeAt(0))).toString(16)).slice(-4);
}return _CHARS[c];
}function _prepare(s){
return s.replace(_UNICODE_EXCEPTIONS,_char);
}function _isValid(str){
return l.isString(str)&&_INVALID.test(str.replace(_ESCAPES,"@").replace(_VALUES,"]").replace(_BRACKETS,""));
}function _string(s){
return'"'+s.replace(_SPECIAL_CHARS,_char)+'"';
}function _stringify(h,key,d,w,pstack){
var o=typeof w==="function"?w.call(h,key,h[key]):h[key],i,len,j,k,v,isArray,a;if(o instanceof Date){
o=l.JSON.dateToString(o);
}else{
if(o instanceof String||o instanceof Boolean||o instanceof Number){
o=o.valueOf();
}
}switch(typeof o){
case"string":return _string(o);case"number":return isFinite(o)?String(o):"null";case"boolean":return String(o);case"object":if(o===null){
return"null";
}for(i=pstack.length-1;i>=0;--i){
if(pstack[i]===o){
return"null";
}
}pstack[pstack.length]=o;a=[];isArray=l.isArray(o);if(d>0){
if(isArray){
for(i=o.length-1;i>=0;--i){
a[i]=_stringify(o,i,d-1,w,pstack)||"null";
}
}else{
j=0;if(l.isArray(w)){
for(i=0,len=w.length;i<len;++i){
k=w[i];v=_stringify(o,k,d-1,w,pstack);if(v){
a[j++]=_string(k)+":"+v;
}
}
}else{
for(k in o){
if(typeof k==="string"&&l.hasOwnProperty(o,k)){
v=_stringify(o,k,d-1,w,pstack);if(v){
a[j++]=_string(k)+":"+v;
...
...
(Please download the complete source code to view)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 2

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
01.97 kB
HelloWorld.exe32.50 kB2012-01-13|04:36
01.97 kB
01.97 kB
._HelloWorld.exe222.00 B2012-01-13|04:36
HelloWorld.sln886.00 B2011-06-21|02:15
._HelloWorld.sln222.00 B2011-06-21|02:15
HelloWorld.vcxproj3.20 kB2011-05-19|02:44
._HelloWorld.vcxproj222.00 B2011-05-19|02:44
HelloWorld.vcxproj.filters956.00 B2010-12-31|10:21
._HelloWorld.vcxproj.filters222.00 B2010-12-31|10:21
license.htm24.85 kB2012-01-26|11:20
._license.htm222.00 B2012-01-26|11:20
01.97 kB
cc-logo.jpg33.26 kB2012-01-26|11:20
01.97 kB
._cc-logo.jpg222.00 B2012-01-26|11:20
connection-min.js11.33 kB2012-01-26|11:20
._connection-min.js222.00 B2012-01-26|11:20
container-min.js71.26 kB2012-01-26|11:20
._container-min.js222.00 B2012-01-26|11:20
container.css4.58 kB2012-01-26|11:20
._container.css222.00 B2012-01-26|11:20
deed67.00 B2012-01-26|11:20
._deed222.00 B2012-01-26|11:20
deed.js1.57 kB2012-01-26|11:20
._deed.js222.00 B2012-01-26|11:20
deed.txt731.00 B2012-01-26|11:20
._deed.txt222.00 B2012-01-26|11:20
deed3-print.css2.49 kB2012-01-26|11:20
._deed3-print.css222.00 B2012-01-26|11:20
deed3.css13.55 kB2012-01-26|11:20
._deed3.css222.00 B2012-01-26|11:20
ga.js32.45 kB2012-01-26|11:20
._ga.js222.00 B2012-01-26|11:20
ga_002.js32.45 kB2012-01-26|11:20
._ga_002.js222.00 B2012-01-26|11:20
help.js4.68 kB2012-01-26|11:20
._help.js222.00 B2012-01-26|11:20
information.png778.00 B2012-01-26|11:20
._information.png222.00 B2012-01-26|11:20
json-min.js3.40 kB2012-01-26|11:20
._json-min.js222.00 B2012-01-26|11:20
jurisdictions.css841.00 B2012-01-26|11:20
._jurisdictions.css222.00 B2012-01-26|11:20
seal.png7.16 kB2012-01-26|11:20
._seal.png222.00 B2012-01-26|11:20
yahoo-dom-event.js30.90 kB2012-01-26|11:20
._yahoo-dom-event.js222.00 B2012-01-26|11:20
._license_files222.00 B2014-01-30|04:26
winmain.cpp4.66 kB2012-01-13|06:31
._winmain.cpp222.00 B2012-01-13|06:31
HelloWorld.vcxproj.user143.00 B2014-01-30|04:30
01.97 kB
HelloWorld.log1.99 kB2014-01-30|04:31
HelloWorld.vcxprojResolveAssemblyReference.cache713.00 B2014-01-30|04:31
HelloWorld.lastbuildstate106.00 B2014-01-30|04:31
HelloWorld.write.1.tlog0.00 B2014-01-30|04:31
vc100.idb179.00 kB2014-01-30|04:31
vc100.pdb60.00 kB2014-01-30|04:31
winmain.obj13.98 kB2014-01-30|04:31
CL.read.1.tlog7.23 kB2014-01-30|04:31
CL.write.1.tlog380.00 B2014-01-30|04:31
cl.command.1.tlog724.00 B2014-01-30|04:31
HelloWorld.ilk329.23 kB2014-01-30|04:31
mt.read.1.tlog924.00 B2014-01-30|04:31
HelloWorld.pdb371.00 kB2014-01-30|04:31
HelloWorld.exe.intermediate.manifest381.00 B2014-01-30|04:31
link.read.1.tlog2.85 kB2014-01-30|04:31
link.write.1.tlog1.03 kB2014-01-30|04:31
link.command.1.tlog1.53 kB2014-01-30|04:31
HelloWorld.exe28.50 kB2014-01-30|04:31
mt.write.1.tlog250.00 B2014-01-30|04:31
mt.command.1.tlog634.00 B2014-01-30|04:31
HelloWorld.suo8.50 kB2014-01-30|04:31
._HelloWorld222.00 B2014-01-30|04:31
Character0.00 B2014-01-30|04:36
Character33.00 kB2012-01-13|04:35
Character0.00 B2014-02-11|09:52
Character222.00 B2012-01-13|04:35
Character894.00 B2011-06-28|03:09
Character222.00 B2011-06-28|03:09
Character4.54 kB2010-01-29|04:49
Character222.00 B2010-01-29|04:49
Character943.00 B2010-01-08|14:18
Character222.00 B2010-01-08|14:18
Character24.85 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character0.00 B2014-01-30|04:27
Character33.26 kB2012-01-26|11:20
Character0.00 B2014-02-11|09:52
Character222.00 B2012-01-26|11:20
Character11.33 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character71.26 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character4.58 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character67.00 B2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character1.57 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character731.00 B2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character2.49 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character13.55 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character32.45 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character32.45 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character4.68 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character778.00 B2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character3.40 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character841.00 B2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character7.16 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character30.90 kB2012-01-26|11:20
Character222.00 B2012-01-26|11:20
Character222.00 B2014-01-30|04:27
Character5.60 kB2012-01-13|06:38
Character222.00 B2012-01-13|06:38
Character143.00 B2014-01-30|04:33
Character0.00 B2014-01-30|04:34
Character2.08 kB2014-01-30|04:34
Character111.00 B2014-01-30|04:34
Character0.00 B2014-01-30|04:33
Character179.00 kB2014-01-30|04:34
Character60.00 kB2014-01-30|04:34
Character15.78 kB2014-01-30|04:34
Character7.09 kB2014-01-30|04:34
Character400.00 B2014-01-30|04:34
Character744.00 B2014-01-30|04:34
Character946.39 kB2014-01-30|04:34
Character960.00 B2014-01-30|04:34
Character1.57 MB2014-01-30|04:34
Character381.00 B2014-01-30|04:34
Character2.88 kB2014-01-30|04:34
Character650.00 B2014-01-30|04:34
Character1.60 kB2014-01-30|04:34
Character388.50 kB2014-01-30|04:34
Character268.00 B2014-01-30|04:34
Character678.00 B2014-01-30|04:34
Character8.50 kB2014-01-30|04:36
._Character222.00 B2014-01-30|04:36
Keys0.00 B2014-01-30|04:27
Keys34.00 kB2012-01-13|04:37
Keys0.00 B2014-02-11|09:52
Keys222.00 B2012-01-13|04:37
Keys882.00 B2011-06-21|02:24
Keys222.00 B2011-06-21|02:24
Keys3.64 kB2010-01-08|14:18
Keys222.00 B2010-01-08|14:18
Keys943.00 B2010-01-08|14:18
Keys222.00 B2010-01-08|14:18
Keys24.85 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys0.00 B2014-01-30|04:27
Keys33.26 kB2012-01-26|11:20
Keys0.00 B2014-02-11|09:52
Keys222.00 B2012-01-26|11:20
Keys11.33 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys71.26 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys4.58 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys67.00 B2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys1.57 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys731.00 B2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys2.49 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys13.55 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys32.45 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys32.45 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys4.68 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys778.00 B2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys3.40 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys841.00 B2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys7.16 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys30.90 kB2012-01-26|11:20
Keys222.00 B2012-01-26|11:20
Keys222.00 B2014-01-30|04:27
Keys9.36 kB2012-01-13|06:38
Keys222.00 B2012-01-13|06:38
._Keys222.00 B2014-01-30|04:27
Prevent0.00 B2014-01-30|05:36
Prevent24.85 kB2012-01-26|11:20
Prevent0.00 B2014-02-11|09:52
Prevent222.00 B2012-01-26|11:20
Prevent0.00 B2014-01-30|04:28
Prevent33.26 kB2012-01-26|11:20
Prevent0.00 B2014-02-11|09:52
Prevent222.00 B2012-01-26|11:20
Prevent11.33 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent71.26 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent4.58 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent67.00 B2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent1.57 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent731.00 B2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent2.49 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent13.55 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent32.45 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent32.45 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent4.68 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent778.00 B2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent3.40 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent841.00 B2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent7.16 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent30.90 kB2012-01-26|11:20
Prevent222.00 B2012-01-26|11:20
Prevent222.00 B2014-01-30|04:28
Prevent5.14 kB2012-01-13|06:40
Prevent222.00 B2012-01-13|06:40
Prevent896.00 B2011-06-21|02:25
Prevent222.00 B2011-06-21|02:25
Prevent4.58 kB2011-05-19|02:41
Prevent222.00 B2011-05-19|02:41
Prevent951.00 B2011-05-19|02:41
Prevent222.00 B2011-05-19|02:41
Prevent10.00 kB2014-01-30|05:38
Prevent143.00 B2014-01-30|05:35
Prevent0.00 B2014-01-30|05:36
Prevent2.09 kB2014-01-30|05:36
Prevent713.00 B2014-01-30|05:36
Prevent112.00 B2014-01-30|05:36
Prevent0.00 B2014-01-30|05:36
Prevent179.00 kB2014-01-30|05:36
Prevent60.00 kB2014-01-30|05:36
Prevent15.32 kB2014-01-30|05:36
Prevent7.26 kB2014-01-30|05:36
Prevent420.00 B2014-01-30|05:36
Prevent780.00 B2014-01-30|05:36
Prevent381.00 B2014-01-30|05:36
Prevent2.91 kB2014-01-30|05:36
Prevent1.11 kB2014-01-30|05:36
Prevent1.61 kB2014-01-30|05:36
Prevent956.00 B2014-01-30|05:36
Prevent272.00 B2014-01-30|05:36
Prevent676.00 B2014-01-30|05:36
Prevent933.80 kB2014-01-30|05:36
Prevent1.57 MB2014-01-30|05:36
Prevent388.00 kB2014-01-30|05:36
._Prevent222.00 B2014-01-30|05:36
...
Sponsored links

json-min.js (2.08 MB)

Need 2 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D