Hi everyone, the webservices I'm using return an o...
# serialization
t
Hi everyone, the webservices I'm using return an object wrapped in another object:
{
"d": {
"id": 3,
"name": "Tiago"
}
}
Is there any way to make it so that I don't have to make a wrapper class in every Serializable class? Something like @path, with XML Parser:
Copy code
@Path("Body/GetAllVehicleBrandsResponse")
private List<InstallerVehicleBrand> allVehicleBrandsResult;
(Here I didn't need to make a Body class)
t
It looks like
Map
. If yes - you can serialize it to
Map