I have JSON like below
{
"name" : "sahal",
"address" : [
{
"state" : "FL"
},
{
"country" : "FL",
"city" : {
"type" : "municipality",
"value" : "California City"
}
},
{
"pin" : "87876"
}
]
}
None of the key:value is constant. Name can change any time. And some time name comes like FirstName.
I tried with @JsonAnySetter and @JsonNode. These works with only one hierarchy
Any other way I can do this and reuse it for other JSON structure without writing the Pojo for each projects ?
