JSON 썸네일형 리스트형 JSON Encoding using JSON-Simple on Server side JSON 문자열을 서버측에서 생성하여 클라이언트에게 전달하는 예 From : http://code.google.com/p/json-simple/wiki/EncodingExamples Example 1-1 - Encode a JSON object //import org.json.simple.JSONObject; JSONObject obj=new JSONObject(); obj.put("name","foo"); obj.put("num",new Integer(100)); obj.put("balance",new Double(1000.21)); obj.put("is_vip",new Boolean(true)); obj.put("nickname",null); System.out.print(obj); Result: {.. 더보기 이전 1 2 3 4 5 6 7 8 ··· 11 다음