JSONobject按照put顺序存储和读取

new的时候加true即可:

JSONObject jsonObject = new JSONObject(true);

原文地址:https://www.cnblogs.com/lvchengda/p/12604679.html