일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
- Google Map
- JSON
- 선택적조인
- jQuery
- dock
- 전자정부프레임워크
- rowspan
- MySQL
- WebLogic
- JDOM
- PLSQL
- jsr 296
- appspresso
- node.js
- sencha touch
- tomcat
- oracle
- swingx
- Struts
- phonegap
- 가우스
- Android
- ibsheet
- PHP
- Eclipse
- iBATIS
- MFC
- Spring
- GPS
- Ajax
- 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 디렉토..