Releases: hervegirod/JSON-java
Releases · hervegirod/JSON-java
1.7.7
1.7.6
- Add methods in the JSONObject and JSONArray classes to get a JSONElement rather than having to use the specific JSONObject and JSONArray methods
1.7.5
- The clone() method is now supported on the JSONElement interface
- Adds a fromString(String) static method in the JSONElement interface to return an element from a String
1.7.4
- Improves the layout of the output for arrays which contain only primitives
1.7.3
Improves the layout of the output
1.7.2
- Add a new property allowing not to shave off trailing decimal points for decimal values serialization
- Add a new property allowing to accept javascript comments when parsing JSON content
- Improve the justification of serialized content
- Add a JSONOptions configuration class to hold properties
- The JSONObject and JSONArray now implement a new JSONElement interface
1.7.1
Ensures that the FileUtils class always uses UTF-8
1.7
- Allows to keep the natural ordering for keys when serializing a JSON content
1.6
Fix null values being serialized incorrectly
1.5
Add new methods in the FileUtils class to create a JSONArray from a String, File, or a Reader