[{GENDER=M, COUNT=2}, {GENDER=N, COUNT=1}, {GENDER=F, COUNT=2}]
$.ajax({
url:"/memberchart.do",
success: function(result){
maleCount = result[0].COUNT; // 2
noneCount = result[1].COUNT; // 1
femaleCount = result[2].COUNT; // 2
}
})
[자바] list 내 map 입출력 https://velog.io/@yoonee1126/%EC%9E%90%EB%B0%94-list-%EB%82%B4-map-%EC%9E%85%EC%B6%9C%EB%A0%A5