一、JSON简介
JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。易于人阅读和编写。同时也易于机器解析和生成。
它基于JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999的一个子集。
JSON采用完全独立于语言的文本格式,但是也使用了类似于C语...
分类:
编程语言 时间:
2014-08-06 10:31:02
阅读次数:
221
http://www.linuxidc.com/Linux/2008-01/10891.htm--------------------------------------------------Linux curl使用简单介绍 [日期:2008-01-29] 来源:Linux公社 作者:notech...
分类:
系统相关 时间:
2014-08-06 01:33:50
阅读次数:
314
今天在取android代码时,发现repo init提示以下错误:
在网上搜索了一下,在下面这个帖子到帮助下,解决了问题:
http://bbs.csdn.net/topics/390705429
该帖子中提到的解决方法有:
方法一:
出现此问题是repo版本不对的问题,具体原因可网上搜索下,据说是google 代码传错导致。我更换过repo后,问题已经解决。curl h...
分类:
其他好文 时间:
2014-08-05 19:35:10
阅读次数:
991
分享下php中读取文件内容的几种方法,各有千秋,与大家共勉。示例代码1: 用file_get_contents 以get方式获取内容示例代码2: 用fopen打开url, 以get方式获取内容示例代码3:用file_get_contents函数,以post方式获取url'bar');$data=ht...
分类:
Web程序 时间:
2014-08-05 18:45:09
阅读次数:
366
get是把参数数据队列加到提交表单的ACTION属性所指的URL中,值和表单内各个字段一一对应。post是通过HTTPpost机制,将表单内各个字段与其内容放置在HTMLHEADER内一起传送到ACTION属性所指的URL地址。get方式服务器端用Request.QueryString获取变量的值,...
分类:
其他好文 时间:
2014-08-05 18:09:29
阅读次数:
225
一、$表示jquery对象 二、样本 1.ajax进行json交互 $.ajax({ url : path+"expressDic.do?parentId=" + parentId, type : ‘post‘, dataType : ‘json‘, timeout : 5000, error : function() { alert(‘加载数据异常,...
分类:
Web程序 时间:
2014-08-05 11:41:29
阅读次数:
226
Now, it is time to gather all the major Java 8 features under one reference post for your reading pleasure. Enjoy!Table Of Contents1. Introduction2. N...
分类:
编程语言 时间:
2014-08-05 10:56:09
阅读次数:
340
libcurl有两个接口 easy接口 同步、高效 前缀curl_easy。 multi接口 异步 前缀curl_multi。multi使用单线程 easy使用范例 #include #include #include #include //回调 static size_t write_data(v...
分类:
其他好文 时间:
2014-08-05 09:33:28
阅读次数:
253
Spring MVC 对HTTP请求的处理流程 通过之前的源码阅读,知道了ApplicationContext初始的过程,也知道了SpringMVC环境的初始化过程,今天就来了解一下SpringMVC是如何处理HTTP请求的。 HTTP请求根据请求方式可以分为GET、POST、PUT、DELETE、...
分类:
编程语言 时间:
2014-08-05 02:55:28
阅读次数:
375
Welcome back! This post deals with the second half of pixel processing, the “join phase”. The previous phase was all about taking a small number of i....
分类:
其他好文 时间:
2014-08-05 00:37:58
阅读次数:
305