일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- Spring
- PHP
- 가우스
- jsr 296
- rowspan
- PLSQL
- iBATIS
- JSON
- Ajax
- swingx
- WebLogic
- sencha touch
- dock
- 전자정부프레임워크
- oracle
- 선택적조인
- ibsheet
- Eclipse
- Google Map
- MySQL
- jQuery
- JDOM
- appspresso
- Struts
- Android
- phonegap
- GPS
- tomcat
- MFC
- node.js
- Today
- Total
목록JSON (5)
Where The Streets Have No Name
@RequestMapping(value = "/test/Test2Json.do") public void test2json(@RequestParam(value="name", required=false) String name, HttpServletResponse response) throws IOException{ System.out.println("name: "+name); JSONObject obj=new JSONObject(); obj.put("name","홍길동"); obj.put("num",new Integer(100)); obj.put("balance",new Double(1000.21)); obj.put("is_vip",new Boolean(true)); obj.put("nickname",nul..
출처 : http://www.sitepoint.com/javascript-json-serialization/ /** * Implements JSON stringify and parse functions * v1.0 * * By Craig Buckler, Optimalworks.net * * As featured on SitePoint.com * Please use as you wish at your own risk. * * Usage: * * // serialize a JavaScript object to a JSON string * var str = JSON.stringify(object); * * // de-serialize a JSON string to a JavaScript object * var..
http://ajaxian.com/archives/light-weight-json-binding-framework
출처 : http://mygony.com/archives/944 function json_encode2($data) { switch (gettype($data)) { case 'boolean': return $data?'true':'false'; case 'integer': case 'double': return $data; case 'string': return '"'.strtr($data, array('\\'=>'\\\\','"'=>'\\"')).'"'; case 'array': $rel = false; // relative array? $key = array_keys($data); foreach ($key as $v) { if (!is_int($v)) { $rel = true; break; } } ..
출처 : http://cafe.naver.com/devteria/475 환경설정. 1. web.xml에 아래내용 추가 ------------------------------------------------------------------------------------------ com.metaparadigm.jsonrpc.JSONRPCServlet com.metaparadigm.jsonrpc.JSONRPCServlet com.metaparadigm.jsonrpc.JSONRPCServlet /JSON-RPC ------------------------------------------------------------------------------------------ 2. json.jar를 lib 디렉토..