GSON - JsonSyntaxException - Expected name at line 7 column 4
问题 I have the following result class whose object is to be returned as JSON. public class Result { public String objectid; public String dtype; public String type; public String name; public String description; public Result() { this.objectid = ""; this.dtype= ""; this.type=""; this.name= ""; this.description = ""; } public String getObjectid() { return objectid; } public void setObjectid(String s) { this.objectid = s; } public String getDtype() { return dtype; } public void setDtype(String s) {