Quantcast
Channel: Dojo中国 » json
Browsing all 2 articles
Browse latest View live

使用DOJO:JS json object 与 string 相互转换

JS json object 与 string 相互转换 object 转 stirng function obj2str(o){ var r = []; if(typeof o == “string” || o == null) { return o; } if(typeof o == “object”){ if(!o.sort){ r[0]=”{” for(var i in o){...

View Article



Dojo读取json并返回到Grid的例子

html源码: <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″> <title>Justa Cigar Wish List</title> <link rel=”stylesheet” type=”text/css”...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images