Skip to content

annoation support ? #556

@fufufufuli

Description

@fufufufuli

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions