Releases: RalleYTN/SimpleJSON
Releases · RalleYTN/SimpleJSON
Release list
Version 2.1.1
Version 2.1.0
- Made the library Java 11 compatible
- Behavior of
JSONObject#compact()has changed; thecompactmethod will now also be called recursively for all child objects - Increased unit test coverage
- Cleaned the code
- #5: Added
JSONParser#parse(String,boolean) - #5: Added
JSONParser#parse(Reader,boolean) - #5: Added
JSONParser#parse(Reader,JSONContentHandler,boolean,boolean) - #5: Added new constructors to
JSONArray - #5: Added new constructors to
JSONObject - #6: Added
JSONFormatter#format(JSONArray,Writer) - #6: Added
JSONFormatter#format(JSONObject,Writer) - #7: Added new constructor to
JSONFormatter - Added
JSONAttribute#genericType() - BUGFIX: Fixed a typo in
JSONParseException - BUGFIX: Fixed a possible
NullPointerExceptioninJSONObject#equals(Object) - BUGFIX: Fixed a possible
NullPointerExceptioninJSONArray#equals(Object) - BUGFIX: Fixed a bug that caused the JSON output of a serialized object to be differently ordered on every run
- BUGFIX: Fixed a bug that caused floating point numbers to be serialized as integers
- BUGFIX: Fixed a bug that caused values of collections and maps to be deserialized as
JSONObjectinstead of their respectively defined generic type. - BUGFIX: Fixed a bug that caused character arrays to not convert into string arrays during JSON output under certain circumstances.
- BUGFIX: JSONParseException will now actually show a string representation of the unexpected token instead of its ID