I have the following JSON :
{
"bean1": {
"bean12": {
"value1": 4500,
"value2": 1500
},
"bean13": {
"value1": 1550,
"value2": 550
}
}
}
I try to deserialize this json with AutoBean, since i have problem to figure it out. I will like to go the reverse way.
Which interfaces can perfect match this JSON so that deserializing with AutoBean work?
where bean1, bean12, bean13 are interfaces and the values are all BigDecimal.
Check this sample. You must have corresponding interface(which has getter and setter for your values)