I have a JSON of structure
{
"name": "...",
"age": "..."
}
I have to map this JSON to following class object
Class Response {
Person person;
}
Class Person {
String name;
String age;
}
Is there any Jackson annotation that helps me do this without changing the JSON structure or modifying the class structure?