foreword
When we JSONize an object (which contains some date type fields), the date type will be converted to a timestamp when JSON is processed
solve
JSON.parse(JSONObject.toJSONStringWithDateFormat(要json的值,"yyyy-MM-dd HH:mm:ss")).toString();
foreword
When we JSONize an object (which contains some date type fields), the date type will be converted to a timestamp when JSON is processed
solve
JSON.parse(JSONObject.toJSONStringWithDateFormat(要json的值,"yyyy-MM-dd HH:mm:ss")).toString();