从Jackson注释文档中:
// ensure that "id" and "name" are output before other properties@JsonPropertyOrder({ "id", "name" })// order any properties that don't have explicit setting using alphabetic order@JsonPropertyOrder(alphabetic=true)
欢迎分享,转载请注明来源:内存溢出
从Jackson注释文档中:
// ensure that "id" and "name" are output before other properties@JsonPropertyOrder({ "id", "name" })// order any properties that don't have explicit setting using alphabetic order@JsonPropertyOrder(alphabetic=true)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)