且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

解析使用改造动态密钥JSON字符串

更新时间: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;

    //....
}