I have
public class A {
private String id;
private Object filter;
}
I build Object A with data
{
"id":1,
"filter" : {
"ids":[1,2,3],
"type": "1"
}
}
After
A b = mapper.map(a, A.class)
b.filter is empty. How to fix it?