Change Logs #2534005
현재 버전
배열구조를 map으로 할려면
List<Map<String, Object>> 이런식으로 map을 list에 담아야겠죠..
json array to list
import org.json.*;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.core.type.*;
ObjectMapper mapper = new ObjectMapper();
List<Map<String, Object>> data = mapper.readValue
(json, new TypeReference<List<Map<String, Object>>>(){});
수정 이력
2021-10-06 19:12:12
에 아래 내용에서 변경 됨
#2
배열구조를 map으로 할려면
List<Map<String, Object>> 이런식으로 map을 list에 담아야겠죠..
json array to list
ObjectMapper mapper = new ObjectMapper();
List<Map<String, Object>> data = mapper.readValue(json, new TypeReference<List<Map<String, Object>>>(){});
2021-10-06 19:07:23
에 아래 내용에서 변경 됨
#1
배열구조를 map으로 할려면
List<Map<String, Object>> 이런식으로 map을 list에 담아야겠죠..