json-iterator / java

jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go
http://jsoniter.com/
MIT License
1.51k stars 518 forks source link

不支持别名? #236

Open bingyunxl opened 5 years ago

bingyunxl commented 5 years ago

是否支持通过annotation设置序列化/反序列化的别名问题

bingyunxl commented 5 years ago

public class JsonMsg {

private int code;
@JsonProperty("errorMsg")
private String err;

public int getCode() {
    return code;
}

public void setCode(int code) {
    this.code = code;
}

public String getErr() {
    return err;
}

public void setErr(String err) {
    this.err = err;
}

}

这样不工作