alsdnr0625
10
2022-04-14 22:51:20
1
221

JAVA jsonArray map에 담는법



public void excel_List(HttpServletRequest request, HttpServletResponse response, @RequestParam Map<String, List<Object>> params) throws Exception {
Object paramObject = params.get("param");
System.out.println("paramObject====="+paramObject);
}

paramObject=====[{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"},{"STR_DT":"2022-04-07","END_DT":"2022-04-14"}]

List<Map<String, Object>> listMap = new ArrayList<Map<String, Object>>();

paramObject 을  listMap 에 담을려면 어떻게 해야할까요?
0