package com.showhouse.action;import java.util.List;
import java.util.Map;import com.opensymphony.xwork2.ActionSupport;
import com.showhouse.service.CommentInfoService;public class CommentsonAction extends ActionSupport{
private CommentInfoService commentinfoservice;
//分页
private int cp = 1;
private int ls = 10;
private String column = "userComment";
private String kw = "";
private List commentInfoListJson;
private int countCommentInfoJson;

 public String comme(){
Map map;
try {
map = commentinfoservice.list(cp, ls, column, kw);
commentInfoListJson = (List) map.get("allComment");
countCommentInfoJson = (Integer) map.get("countComment");
} catch (Exception e) {
e.printStackTrace();
}
   return SUCCESS ;
   }
}function commentinfoList(){
$.getJSON("comm.action",{},callbackMessageListJson);
}
function callbackMessageListJson(data,status){
if("success" == status){
document.writeln(data);
}
输入是一个object对象,我怎么取得map中的值。