如果是用gson解析的话,可以使用注解 public class Bean{ private int id; @SerializedName("default") private String defaultStr; ....... }
如果是用gson解析的话,可以使用注解