Open jainh opened 7 years ago
com.alibaba.fastjson.annotation.JSONField
https://github.com/alibaba/fastjson/wiki/JSONField
public class Model {
@JSONField(name="ID")
private int id;
public int getId() {return id;}
public void setId(int value) {this.id = id;}
}
Does FastJSON support annotation like @JsonProperty like Jackson in order to give custom name to key name of the JSON string ?