fastjson調用parseObject方法時會自動排序,如無需排序須要在parseObject方法中加參數Feature.orderedField則fastjson會按原來的順序。json
JSON.parseObject(jsonStr,Feature.orderedField)排序