JSON/JSON 04, Decoding by JSON-Simple 썸네일형 리스트형 Decoding by JSON-Simple From: http://code.google.com/p/json-simple/wiki/DecodingExamples Example 1 - Convenient way: Use JSONValueSystem.out.println("=======decode======="); String s="[0,{\"1\":{\"2\":{\"3\":{\"4\":[5,{\"6\":7}]}}}}]"; Object obj=JSONValue.parse(s); JSONArray array=(JSONArray)obj; System.out.println("======the 2nd element of array======"); System.out.println(array.get(1)); System.out.println(); JSONObj.. 더보기 이전 1 다음