码迷,mamicode.com
首页 >  
搜索关键字:JSON    ( 31794个结果
struts2.1.8 spring2.5.6 hibernate3.3G 依赖jar包
----struts2.1.8---- struts2-core-2.1.8.1.jar struts2核心包struts2-json-plugin-2.1.8.1.jar struts2的json插件--var s = {name:"zhangs",age:"18"}struts2-s...
分类:编程语言   时间:2014-06-18 22:18:46    阅读次数:274
Httpclient httpdelete 参数
Httpclient 中常用的请求有2个,HttpPost 和 HttpGet,今天在对某个网站进行分析的时候,突然发现用到了 HttpDelete,并且传参 是 Json。1、一般 HttpPost 对传参 Json 的处理是:// 中文处理StringEntity se = new String...
分类:其他好文   时间:2014-06-18 22:05:55    阅读次数:419
rapidjson的read和write的sample
#include "json/document.h"#include "json/prettywriter.h"#include "json/stringbuffer.h"void test(){ //read json char json[100] = "{ \"hello\" : \"wo...
分类:Windows程序   时间:2014-06-18 21:05:40    阅读次数:702
javascript 跨域解决方案
1 用jsonp$.getJSON("http://www.jinanwuliangye.com/document!searchJSONResult.action?name1="+value1+"&jsoncallback=?", function(json){ if(json.属性名==值...
分类:编程语言   时间:2014-06-18 20:31:43    阅读次数:212
ajax的再次封装!
js好强大,json心目中的女神,jQuery真方便!
分类:其他好文   时间:2014-06-18 20:02:54    阅读次数:175
在文件中读取、存储Json格式的字符串
public class Weather { static readonly string FilePath = System.Environment.CurrentDirectory + @"\Area.txt"; public static Models.Are...
分类:Web程序   时间:2014-06-18 19:31:48    阅读次数:140
SpringMVC返回Json,自定义Json中Date类型格式
http://www.cnblogs.com/jsczljh/p/3654636.html———————————————————————————————————————————————————————————— SpringMVC返回Json,自定义Json中Date类型格式 ...
分类:编程语言   时间:2014-06-18 15:49:39    阅读次数:205
JQuery+ajax+jsonp 跨域访问
Jsonp(JSON with Padding)是资料格式 json 的一种“使用模式”,可以让网页从别的网域获取资料。关于Jsonp更详细的资料请参考http://baike.baidu.com/view/2131174.htm,下面给出例子:一.客户端Html代码InserttitlehereR...
分类:Web程序   时间:2014-06-18 15:00:33    阅读次数:222
cocos2d-x 3.0 rapidjson 的写入操作应该注意的细节
//获取一个可写入的全路径 auto path =FileUtils::getInstance()->getWritablePath(); log("%s", path.c_str()); //在这个路径下添加一个json文件 path.append("myhero.json"); rapidjson::Document document; document.SetObject()...
分类:Windows程序   时间:2014-06-16 23:22:47    阅读次数:557
javascript 跨域解决方案
1用jsonp$.getJSON("http://www.jinanwuliangye.com/document!searchJSONResult.action?name1="+value1+"&jsoncallback=?",function(json){if(json.属性名==值){//执行代码}});$.getJSON("http://www.tongxinglong.com/document!searchJSONResult.action?name1="+value1+"&..
分类:编程语言   时间:2014-06-16 17:37:49    阅读次数:256
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!