티스토리 뷰

이것을 시도해 볼 수 있습니다.

class PopulationDetail {
    long count;
        String location;
        }
        
        class Elephan {
            ...
                Map<String, PopulationDetail> population;
                    ...
                    }
                    
-------------------

json을 pojo 클래스로 변환하려면 다음을 시도하십시오.

http://www.jsonschema2pojo.org/



출처
https://stackoverflow.com/questions/39970003
댓글
공지사항
Total
Today
Yesterday
«   2025/08   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31