我想为以下结构定义一个JAXB映射类。
{
"family members": ["me","my dad","someone else"],
"relations" : [{"me":17 years, "my dad":40 years, "relation":son & father}, {"my dad":40 years, "me":17 years, "relation":father & son},{"me": 17 years, "someone else":50 years, "relation":ancestor}]
}
我应该如何注释POJO?请忽略有关避免冗余的建议或其他存储此信息的替代方法。