model.put("result", service.getData(paramMap));
model에 넣은 result 는 타입이 hashMap객체의 List타입인데
model.get("result"); << 이걸 콘솔창에 출력해보면
[{content=내용, title=제목, count=5, wtime=17:54:43, no=2, liked=0, img=0, wdate=2014-08-20, nicname=닉네임, comment=0}]
이런식으로 뿌려지는데 여기서 난 count 값만 가져오고 싶어
model.get("result.count");
model.get("result[0].count");
model.get("result['count']");
이런식으로 해봤는데 다 안되..
어떻게 해야 가져올수있어? 알려줘 성들
JSONObject 파싱 찾아봐