import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONType; import com.alibaba.fastjson.serializer.SerializerFeature; @JSONType(orders = { "序号aaa", "服务器bbb"}) public class CameraVO { @JSONField(name = "序号aaa") private Integer id; @JSONField(name = "服务器bbb") private String instance; }