I have a service returns a list of something like this as responseEntity
{
00080005={vr=CS, Value=[ISO_IR 100]},
00080054={vr=AE, Value=[DCM4CHEE]},
00080056={vr=CS, Value=[ONLINE]}
}
How can I create a custom class mapping this, and is this way better or using responseEntity ?
-- note that I have an error when using responseEnttiy said
Can not deserialize instance of javax.json.Json out of START_ARRAY token
your service return as JSON formatted ?
i have similar condition when develop some project...but i'm not quite sure your service return is a json formatted..
i've use Jackson for mapper and Gson Library for jsonobject. every request i map to entity using jackson.