내가 JSON으로 잭슨과 직렬화하려고하면 나는이잭슨 JSON으로 추상화 한 단계를 건너 뛰기
public class Profile {
Profile profile
Interests interests
}
public class Interests {
HashMap<String,InterestMetric> interests = ...
}
같은 수업을 :
{
profile:...
interests:
{
interests:...
}
}
2 관심의 생성을 방지 할 수있는 방법이 있나요 사용자 정의 serializer가없는 태그 (주석)?
왜이 추상화가 처음입니까? –