public class REQ_BODY {private String KEY_WORD;private int LOW_PRICE;private int HIGH_PRICE;忽略getset}REQ_BODY body = new REQ_BODY();body .setLOW_PRICE("11");System.out.println(JSONObject.toJSONString(body));此时,输出的jsonLOW_PRICE HIGH_PRICE 都是默认为0;
添加回答
举报
0/150
提交
取消