更新时间:2023-01-16 21:54:43
您 resultInside
类并称不会在JSON存在一个额外的对象层。尝试将地图到您的数据
类结果
字段。
Your resultInside
class is adding an extra object layer that does not exist in your JSON. Try moving the map to your Data
class results
field.
public class Data {
@SerializedName("results")
@Expose
private Map<String, Vitals> result;
//....
}