-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
Does this library support annoation ?
such as:
public class Student{
@JsonProperty("math_score")
private Integer mathScore;
@JsonProperty("history_score")
private Integer historyScore;
@JsonProperty("biological_score")
private Integer biologicalScore;
}
String str="{"xxx":{"math_score":80,"history_score":85,"biological_score":75}}";
ReadContext readContext= JsonPath.parse(str);
Student student = readContext.readContext.read("$.xxx", Student.class);
Metadata
Metadata
Assignees
Labels
No labels