JSON Java Versions Save

A reference implementation of a JSON package in Java.

20231013

7 months ago
Pull Request Description
#793 Reverted #761
#792 update the docs for release 20231013
#783 optLong vs getLong inconsistencies
#782 Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows
#779 add validity check for JSONObject constructors
#778 Fix XMLTest.testIndentComplicatedJsonObjectWithArrayAndWithConfig() for Windows
#776 Update [JUnit to version 4.13.2
#774 Removing unneeded synchronization
#773 Add optJSONArray method to JSONObject with a default value
#772 Disallow nested objects and arrays as keys in objects
#779 Unit test cleanup
#769 Addressed Java 17 compile warnings
#764 Update CodeQL action version
#761 Add module-info
#759 JSON parsing should detect embedded 
#753 Updated new object methods
#752 Fixes possible unit test bug when compiling/testing on Windows

20230227

1 year ago
Pull Request Description
#723 Protect JSONML from stack overflow exceptions caused by recursion
#720 Limit the XML nesting depth for CVE-2022-45688
#711 Revert pull 707 - interviewbit spam
#704 Move javadoc comments above the interface definition to make it visible
#703 Update Releases.md for JSONObject(Map): Throws NPE if key is null
#696 Update JSONPointerTest for NonDex compatibility
#694 Pretty print XML
#692 Example.md syntax highlight and indentation
#691 Create unit tests for various number formats

20220924

1 year ago
Pull Request Description
#688 Update copyright to Public Domain
#687 Fix a typo
#685 JSONObject map type unit tests
#684 Remove v7 build from pipeline
#682 JSONString similarity
#675 https://github.com/stleary/JSON-java/pull/675

20220320

2 years ago
Pull Request Description
#660 Wrap StackOverflow with JSONException

20211205

2 years ago
Pull Request Description
#651 IdentityHashSet for JSONObject cycle detection
#646 XMLParserConfiguration defined json arrays option
#645 Handle circular references in Java beans
#640 Unit tests for multiple backslashes in JSONPointer
#637 Reorganized README.md
#634 Update README with Unix examples
#631 Refactor JSONPointerTest
#626 Add CODE_OF_CONDUCT.md
#622 Clean up readme.md
#621 Clean up comments
#617 JSONObject.similar() numeric compare bug fix
#613 JsonObject.similar() number entry check bug fix
#610 optJSONObject() add default value
#607 Add Security.md policy page
#606 Clean up comments, add suppressWarning annotation
#604 Fixed incorrect cast getting float from array
#601 Added Examples.md for new users
#594 JSONStringer.java: fix max nesting level in javadoc

20210307

3 years ago
Pull Request Description
#575 Fix similar compare numbers
#577 Added clear() methods to JSONObject and JSONArray
#581 Use built-in Gradle shorthand notation for Maven Central repository
#583 Checked the length of key for checker framework
#588 JSONPointer should not process reverse solidus or double-quote chars in tokens

NOTE:

#588 is a potentially breaking change to JSONPointer. Embedded double quote and backslash chars are now handled differently (they are basically ignored by the JSONPointer parser). If this causes problems to your project, post an issue on the JSON-Java GitHub page.

20201115

3 years ago
Pull Request Description
#515 Merge tests and pom and code
#519 Gradle support
#521 Updates Cookie class to be more generic in attribute parsing and emit
#524 JSONArray does not have constructor to allocate the specified initial capacity
#525 Unit test fixes
#526 Comment out some broken unit tests
#527 Fixes for Unit tests and supports GitHub Actions
#529 Added putAll(Collection) and putAll(Array) methods
#532 Verifies BigDecimal support does not have a regression
#538 Explain local builds in the readme, fix a couple of typos
#539 Bring Junit tests to Java 1.6 compatibility
#540 Added type conversion support
#542 Fix xml hex entity parse
#543 Refactor XMLConfiguration to use Builder Pattern
#549 Update readme.md
#552 Updates for JSONArray.putAll methods
#570 Readme - fix spelling and usage, per Grammarly