I'm consuming two JSONs.
The first one has the ID as a String.
"details": {
"id": "316.0"
}
The other one has the ID as Integer.
"details": {
"detailId": 316
}
Both JSONs are being mapped with FasterXML to two different classes. I want both ids to be Integer. For now they are String.
How can I force ForceXML to convert "316.0" to Integer so I can compare both attributes easily?