Skip to content

Version 2.1.0

Compare
Choose a tag to compare
@RalleYTN RalleYTN released this 05 Dec 18:43
· 6 commits to master since this release
  • Made the library Java 11 compatible
  • Behavior of JSONObject#compact() has changed; the compact method 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 NullPointerException in JSONObject#equals(Object)
  • BUGFIX: Fixed a possible NullPointerException in JSONArray#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 JSONObject instead 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