fastjson调用parseObject方法时会自动排序,如无需排序须要在parseObject方法中加参数Feature.orderedField则fastjson会按原来的顺序。json
JSON.parseObject(jsonStr,Feature.orderedField)排序