序列化对象,只需要使用注解"@JsonProperty(value =import com.fasterxml.jackson.annotation.JsonProperty; public class User{ @JsonProperty(value = "pwd") private String password; } 比如上面例子,在作为请求接收Js