Java代码 [{"1月":1.0,"9月":9.0,"12月":12.0,"8月":0.0,"6月":6.0,"7月":7.0,"5月":5.0,"year":"2014","3月":3.0,"2月":0.0,"11月":11.0,"4月":4.0,"10月":10.0},{"1月":3.0,"9月":27.0,"12月":36.0,"8月":24.0,"6月":18.0,"7月":21.0,"5月":15.0,"year":"2014","3月":9.0,"2月":6.0,"11月":33.0,"4月":12.0,"10月":30.0}] 但是前台需要的数据是要一个数组[1.0,9.0,12.0,0.0,6.0,7.0,5.0,3.0,0.0,11.0,4.0,10.0]主要是想在前台如何得到这两个数组如果是这样的json如何转换成数组呢?{"retY":{"1月":1.0,"9月":9.0,"12月":12.0,"8月":0.0,"6月":6.0,"7月":7.0,"5月":5.0,"year":"2014","3月":3.0,"2月":0.0,"11月":11.0,"4月":4.0,"10月":10.0},"retW":{"1月":3.0,"9月":27.0,"12月":36.0,"8月":24.0,"6月":18.0,"7月":21.0,"5月":15.0,"year":"2014","3月":9.0,"2月":6.0,"11月":33.0,"4月":12.0,"10月":30.0}}
添加回答
举报
0/150
提交
取消