Closed Tsyklop closed 7 years ago
The documentation of the JSONObject class warns you that the result is unordered.
@RalleYTN And is it possible to make it orderly?
Download the source code. Open the JSONObject.java Let it extend LinkedHashMap instead of HashMap. Should work but I didn't test it.
@RalleYTN it works. Thanks
I have string:
As you can see, all the dates are consistent.
But after I parse the line, all the dates become chaotic. How solve this?