Closed mend-for-github-com[bot] closed 1 year ago
This PR contains the following updates:
20090211
20230227
By merging this PR, the below issues will be automatically resolved and closed:
This PR contains the following updates:
20090211
->20230227
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
douglascrockford/JSON-java
### [`v20230227`](https://togithub.com/stleary/JSON-java/releases/tag/20230227) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20220924...20230227) | Pull Request | Description | |---------------|--------------| | [#723](https://togithub.com/douglascrockford/JSON-java/issues/723) | Protect JSONML from stack overflow exceptions caused by recursion | | [#720](https://togithub.com/douglascrockford/JSON-java/issues/720) | Limit the XML nesting depth for CVE-2022-45688 | | [#711](https://togithub.com/douglascrockford/JSON-java/issues/711) | Revert pull 707 - interviewbit spam | | [#704](https://togithub.com/douglascrockford/JSON-java/issues/704) | Move javadoc comments above the interface definition to make it visible | | [#703](https://togithub.com/douglascrockford/JSON-java/issues/703) | Update Releases.md for JSONObject(Map): Throws NPE if key is null | | [#696](https://togithub.com/douglascrockford/JSON-java/issues/696) | Update JSONPointerTest for NonDex compatibility | | [#694](https://togithub.com/douglascrockford/JSON-java/issues/694) | Pretty print XML | | [#692](https://togithub.com/douglascrockford/JSON-java/issues/692) | Example.md syntax highlight and indentation | | [#691](https://togithub.com/douglascrockford/JSON-java/issues/691) | Create unit tests for various number formats | ### [`v20220924`](https://togithub.com/stleary/JSON-java/releases/tag/20220924) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20220320...20220924) | Pull Request | Description | |---------------|--------------| | [#688](https://togithub.com/douglascrockford/JSON-java/issues/688) | Update copyright to Public Domain | | [#687](https://togithub.com/douglascrockford/JSON-java/issues/687) | Fix a typo | | [#685](https://togithub.com/douglascrockford/JSON-java/issues/685) | JSONObject map type unit tests | | [#684](https://togithub.com/douglascrockford/JSON-java/issues/684) | Remove v7 build from pipeline | | [#682](https://togithub.com/douglascrockford/JSON-java/issues/682) | JSONString similarity | | [#675](https://togithub.com/douglascrockford/JSON-java/issues/675) | [https://github.com/stleary/JSON-java/pull/675](https://togithub.com/stleary/JSON-java/pull/675) | ### [`v20220320`](https://togithub.com/stleary/JSON-java/releases/tag/20220320) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20211205...20220320) | Pull Request | Description | |---------------|--------------| | [#660](https://togithub.com/douglascrockford/JSON-java/issues/660) | Wrap StackOverflow with JSONException | ### [`v20211205`](https://togithub.com/stleary/JSON-java/releases/tag/20211205) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20210307...20211205) | Pull Request | Description | |---------------|--------------| | [#651](https://togithub.com/douglascrockford/JSON-java/issues/651) | IdentityHashSet for JSONObject cycle detection | | [#646](https://togithub.com/douglascrockford/JSON-java/issues/646) | XMLParserConfiguration defined json arrays option | | [#645](https://togithub.com/douglascrockford/JSON-java/issues/645) | Handle circular references in Java beans | | [#640](https://togithub.com/douglascrockford/JSON-java/issues/640) | Unit tests for multiple backslashes in JSONPointer | | [#637](https://togithub.com/douglascrockford/JSON-java/issues/637) | Reorganized README.md | | [#634](https://togithub.com/douglascrockford/JSON-java/issues/634) | Update README with Unix examples | | [#631](https://togithub.com/douglascrockford/JSON-java/issues/631) | Refactor JSONPointerTest | | [#626](https://togithub.com/douglascrockford/JSON-java/issues/626) | Add CODE_OF_CONDUCT.md | | [#622](https://togithub.com/douglascrockford/JSON-java/issues/622) | Clean up readme.md | | [#621](https://togithub.com/douglascrockford/JSON-java/issues/621) | Clean up comments | | [#617](https://togithub.com/douglascrockford/JSON-java/issues/617) | JSONObject.similar() numeric compare bug fix | | [#613](https://togithub.com/douglascrockford/JSON-java/issues/613) | JsonObject.similar() number entry check bug fix | | [#610](https://togithub.com/douglascrockford/JSON-java/issues/610) | optJSONObject() add default value | | [#607](https://togithub.com/douglascrockford/JSON-java/issues/607) | Add Security.md policy page | | [#606](https://togithub.com/douglascrockford/JSON-java/issues/606) | Clean up comments, add suppressWarning annotation | | [#604](https://togithub.com/douglascrockford/JSON-java/issues/604) | Fixed incorrect cast getting float from array | | [#601](https://togithub.com/douglascrockford/JSON-java/issues/601) | Added Examples.md for new users | | [#594](https://togithub.com/douglascrockford/JSON-java/issues/594) | JSONStringer.java: fix max nesting level in javadoc | ### [`v20210307`](https://togithub.com/stleary/JSON-java/releases/tag/20210307) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20201115...20210307) | Pull Request | Description | |---------------|--------------| | [#575](https://togithub.com/douglascrockford/JSON-java/issues/575) | Fix similar compare numbers | | [#577](https://togithub.com/douglascrockford/JSON-java/issues/577) | Added clear() methods to JSONObject and JSONArray | | [#581](https://togithub.com/douglascrockford/JSON-java/issues/581) | Use built-in Gradle shorthand notation for Maven Central repository | | [#583](https://togithub.com/douglascrockford/JSON-java/issues/583) | Checked the length of key for checker framework | | [#588](https://togithub.com/douglascrockford/JSON-java/issues/588) | JSONPointer should not process reverse solidus or double-quote chars in tokens | **NOTE:** [#588](https://togithub.com/douglascrockford/JSON-java/issues/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. ### [`v20201115`](https://togithub.com/stleary/JSON-java/releases/tag/20201115) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20200518...20201115) | Pull Request | Description | |---------------|--------------| | [#515](https://togithub.com/douglascrockford/JSON-java/issues/515) | Merge tests and pom and code | | [#519](https://togithub.com/douglascrockford/JSON-java/issues/519) | Gradle support | | [#521](https://togithub.com/douglascrockford/JSON-java/issues/521) | Updates Cookie class to be more generic in attribute parsing and emit | | [#524](https://togithub.com/douglascrockford/JSON-java/issues/524) | JSONArray does not have constructor to allocate the specified initial capacity | | [#525](https://togithub.com/douglascrockford/JSON-java/issues/525) | Unit test fixes | | [#526](https://togithub.com/douglascrockford/JSON-java/issues/526)| Comment out some broken unit tests | | [#527](https://togithub.com/douglascrockford/JSON-java/issues/527) | Fixes for Unit tests and supports GitHub Actions | | [#529](https://togithub.com/douglascrockford/JSON-java/issues/529) | Added putAll(Collection) and putAll(Array) methods | | [#532](https://togithub.com/douglascrockford/JSON-java/issues/532) | Verifies BigDecimal support does not have a regression| | [#538](https://togithub.com/douglascrockford/JSON-java/issues/538) | Explain local builds in the readme, fix a couple of typos | | [#539](https://togithub.com/douglascrockford/JSON-java/issues/539) | Bring Junit tests to Java 1.6 compatibility | | [#540](https://togithub.com/douglascrockford/JSON-java/issues/540) | Added type conversion support | | [#542](https://togithub.com/douglascrockford/JSON-java/issues/542) | Fix xml hex entity parse | | [#543](https://togithub.com/douglascrockford/JSON-java/issues/543) | Refactor XMLConfiguration to use Builder Pattern | | [#549](https://togithub.com/douglascrockford/JSON-java/issues/549) | Update readme.md | | [#552](https://togithub.com/douglascrockford/JSON-java/issues/552) | Updates for JSONArray.putAll methods | | [#570](https://togithub.com/douglascrockford/JSON-java/issues/570) | Readme - fix spelling and usage, per Grammarly | ### [`v20200518`](https://togithub.com/stleary/JSON-java/releases/tag/20200518) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20190722...20200518) | Pull Request | Description | |---------------|--------------| | [#502](https://togithub.com/douglascrockford/JSON-java/issues/502) | Update JSONTokener text in README | | [#499](https://togithub.com/douglascrockford/JSON-java/issues/499) | Add copyright to some files | | [#495](https://togithub.com/douglascrockford/JSON-java/issues/495) | Refactor typos from code | | [#494](https://togithub.com/douglascrockford/JSON-java/issues/494) | Replace JSONObject constructor string arrays with var args | | [#492](https://togithub.com/douglascrockford/JSON-java/issues/492) | Clarify output of JSONArray toList() | | [#486](https://togithub.com/douglascrockford/JSON-java/issues/486) | Standardize some exception messages | | [#485](https://togithub.com/douglascrockford/JSON-java/issues/485) | Fix EOF error when Meta tag isn't closed at end of input. | | [#483](https://togithub.com/douglascrockford/JSON-java/issues/483) | Update README.md to point to latest released jar | | [#481](https://togithub.com/douglascrockford/JSON-java/issues/481) | Clarify exception when parser reads JSON | | [#475](https://togithub.com/douglascrockford/JSON-java/issues/475) |Make private methods static where possible | | [#474](https://togithub.com/douglascrockford/JSON-java/issues/474) | Replaces an internally used inefficient StringBuffer class | ### [`v20190722`](https://togithub.com/stleary/JSON-java/releases/tag/20190722) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20180813...20190722) | Pull Request | Description | |---------------|--------------| | [#467](https://togithub.com/douglascrockford/JSON-java/issues/467) | add configuration for xsi:nil="true" conversion to null | | [#452](https://togithub.com/douglascrockford/JSON-java/issues/452) | Adds check for EOF | | [#440](https://togithub.com/douglascrockford/JSON-java/issues/440) | Corrections to BigDecimal consistency | | [#432](https://togithub.com/douglascrockford/JSON-java/issues/432)|Update README.md | |[#421](https://togithub.com/douglascrockford/JSON-java/issues/421) |add isEmpty and isNotEmpty methods | |[#417](https://togithub.com/douglascrockford/JSON-java/issues/417) |fix double ctor in JSONWriter | |[#412](https://togithub.com/douglascrockford/JSON-java/issues/412) |Initial implementation of XMLParserConfig object for flexible XML Parsing | | [#407](https://togithub.com/douglascrockford/JSON-java/issues/407) | Fix for invalid processing of trailing / for JSON Pointer | | [#406](https://togithub.com/douglascrockford/JSON-java/issues/406) | Adds annotations to customize field names during Bean serialization | ### [`v20180813`](https://togithub.com/stleary/JSON-java/releases/tag/20180813) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20180130...20180813) Pull Request | Description \---- | ---- [#405](https://togithub.com/douglascrockford/JSON-java/issues/405) | Update javadoc to match actual exceptions thrown. **BREAKING CHANGE:** JSONObject(Map) now throws an exception if any of a map keys are null. | [#403](https://togithub.com/douglascrockford/JSON-java/issues/403) | Ignore Intellij Idea project files [#400](https://togithub.com/douglascrockford/JSON-java/issues/400) | XML toJSONObject(Reader reader) ### [`v20180130`](https://togithub.com/stleary/JSON-java/releases/tag/20180130) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20171018...20180130) Pull Request | Description \------------ | ------------- [#392](https://togithub.com/douglascrockford/JSON-java/issues/392)| Remove wrong apostrophe [#381](https://togithub.com/douglascrockford/JSON-java/issues/381) | Adding maven badge to readme [#380](https://togithub.com/douglascrockford/JSON-java/issues/380) | Fix for false positives in similar functions [#375](https://togithub.com/douglascrockford/JSON-java/issues/375) | fixes wrapped exceptions [#373](https://togithub.com/douglascrockford/JSON-java/issues/373) | Fixes Unclosed json array stack overflow ### [`v20171018`](https://togithub.com/stleary/JSON-java/releases/tag/20171018) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20170516...20171018) Pull Request | Description \------------ | ------------- [#362](https://togithub.com/douglascrockford/JSON-java/issues/362) | Fixes XML Unescaping [#360](https://togithub.com/douglascrockford/JSON-java/issues/360) | Creating a JSONObject from a string that contains a duplicate key (any level) throws a JSONException that includes location [#357](https://togithub.com/douglascrockford/JSON-java/issues/357) | Update javadoc according to issue [#356](https://togithub.com/douglascrockford/JSON-java/issues/356) [#354](https://togithub.com/douglascrockford/JSON-java/issues/354) | Updates for populateMap based on discussion in [#279](https://togithub.com/douglascrockford/JSON-java/issues/279) and [#264](https://togithub.com/douglascrockford/JSON-java/issues/264) [#352](https://togithub.com/douglascrockford/JSON-java/issues/352) | Error message position fixes [#348](https://togithub.com/douglascrockford/JSON-java/issues/348) | Capacity improvements for internal structures [#347](https://togithub.com/douglascrockford/JSON-java/issues/347) | A comment added to explain the use of HashMap [#345](https://togithub.com/douglascrockford/JSON-java/issues/345) | Adds JSONException for write value errors [#341](https://togithub.com/douglascrockford/JSON-java/issues/341) | Optimize loops [#337](https://togithub.com/douglascrockford/JSON-java/issues/337) | Optimizes opt\* functions [#336](https://togithub.com/douglascrockford/JSON-java/issues/336) | Numeric enhancements, Refactoring, Fix spelling ### [`v20170516`](https://togithub.com/stleary/JSON-java/releases/tag/20170516) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20160810...20170516) Pull Request | Description \------------ | ------------- [#324](https://togithub.com/douglascrockford/JSON-java/issues/324) | Allow user to invoke query and optQuery ,with a JSONPointer [#317](https://togithub.com/douglascrockford/JSON-java/issues/317) | make sure locale independent data is not upper/lowercased incorrectly [#304](https://togithub.com/douglascrockford/JSON-java/issues/304) | Update README [#292](https://togithub.com/douglascrockford/JSON-java/issues/292) | Provides "#" string evaluation support for JSON Pointer [#288](https://togithub.com/douglascrockford/JSON-java/issues/288) | Bug fixes for XML Encoding and Decoding [#274](https://togithub.com/douglascrockford/JSON-java/issues/274) | Fix for number output bug. [#271](https://togithub.com/douglascrockford/JSON-java/issues/271) | Update enum support to be more fully featured. ### [`v20160810`](https://togithub.com/stleary/JSON-java/releases/tag/20160810) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20160807...20160810) | Pull request | Description | | --- | --- | | [#261](https://togithub.com/douglascrockford/JSON-java/issues/261) | Revert "reduces the use of unnecessary exceptions" | ### [`v20160807`](https://togithub.com/stleary/JSON-java/releases/tag/20160807) [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20160212...20160807) | Pull Request | Description | | --- | --- | | [https://github.com/stleary/JSON-java/pull/253](https://togithub.com/stleary/JSON-java/pull/253) | Optional type conversion for XML reading | | [https://github.com/stleary/JSON-java/pull/249](https://togithub.com/stleary/JSON-java/pull/249) | Reduce the use of unnecessary exceptions | | [https://github.com/stleary/JSON-java/pull/246](https://togithub.com/stleary/JSON-java/pull/246) | Add License file | | [https://github.com/stleary/JSON-java/pull/242](https://togithub.com/stleary/JSON-java/pull/242) | Update readme | | [https://github.com/stleary/JSON-java/pull/236](https://togithub.com/stleary/JSON-java/pull/236) | Make nextString throw a JSONException instead of a NumberFormatException | | [https://github.com/stleary/JSON-java/pull/234](https://togithub.com/stleary/JSON-java/pull/234) | JSONPointer fix | | [https://github.com/stleary/JSON-java/pull/226](https://togithub.com/stleary/JSON-java/pull/226) | fix to compile with 1.6.0\_45 | |[https://github.com/stleary/JSON-java/pull/222](https://togithub.com/stleary/JSON-java/pull/222)2 | JSON Pointer implementation | |[https://github.com/stleary/JSON-java/pull/219](https://togithub.com/stleary/JSON-java/pull/219)9 | Added CSV change to CDL.java | |[https://github.com/stleary/JSON-java/pull/203](https://togithub.com/stleary/JSON-java/pull/203)3 | Adds JSONArray toList method and JSONObject toMap method | ### [`v20160212`](https://togithub.com/stleary/JSON-java/releases/tag/20160212): Java 1.6 compatibility [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20151123...20160212) Extending backwards compatibility to Java 1.6. The unit tests \[https://github.com/stleary/JSON-Java-unit-test] still require Java 1.8. Includes the following commits: | Pull Request | Description | | --- | --- | | [https://github.com/stleary/JSON-java/pull/195](https://togithub.com/stleary/JSON-java/pull/195) | Java 1.6 compatibility | | [https://github.com/stleary/JSON-java/pull/188](https://togithub.com/stleary/JSON-java/pull/188) | Fix negative zero | | [https://github.com/stleary/JSON-java/pull/186](https://togithub.com/stleary/JSON-java/pull/186) | Update README with number information | | [https://github.com/stleary/JSON-java/pull/185](https://togithub.com/stleary/JSON-java/pull/185) | change to public: write(writer, indentfactor, indent) | | [https://github.com/stleary/JSON-java/pull/180](https://togithub.com/stleary/JSON-java/pull/180) | Remove executable bit | | [https://github.com/stleary/JSON-java/pull/179](https://togithub.com/stleary/JSON-java/pull/179) | Update JavaDoc for JSONObject Constructors | ### [`v20151123`](https://togithub.com/stleary/JSON-java/releases/tag/20151123): JSONObject and JSONArray initialization with generics [Compare Source](https://togithub.com/douglascrockford/JSON-java/compare/20150729...20151123) Support initializing a JSONObject with Map\,?> and JSONArray with Collection\>. Includes the following commits: | Pull request | Description | | --- | --- | | [#168](https://togithub.com/douglascrockford/JSON-java/issues/168) | Update Readme for Maven release | | [#160](https://togithub.com/douglascrockford/JSON-java/issues/160) | Fixe possible NullPointerException | | [#159](https://togithub.com/douglascrockford/JSON-java/issues/159) | Properly override Exception class | | [#153](https://togithub.com/douglascrockford/JSON-java/issues/153) | JSONObject and JSONArray initialization | ### [`v20150729`](https://togithub.com/stleary/JSON-java/releases/tag/20150729): Update Maven central repository with recent code changes Code changes since the most recent Maven release ([`2014111`](https://togithub.com/douglascrockford/JSON-java/commit/20141113)): | Existing feature enhancements | Pull request | | --- | --- | | New methods for Enum type | [https://github.com/douglascrockford/JSON-java/pull/140](https://togithub.com/douglascrockford/JSON-java/pull/140) | | BigDecimal and BigInteger methods | [https://github.com/douglascrockford/JSON-java/pull/135](https://togithub.com/douglascrockford/JSON-java/pull/135) | | Iterable JSONArray | [https://github.com/douglascrockford/JSON-java/pull/132](https://togithub.com/douglascrockford/JSON-java/pull/132) | | Remove compiler cast warnings | [https://github.com/douglascrockford/JSON-java/pull/122](https://togithub.com/douglascrockford/JSON-java/pull/122) | | JavaDoc fix in CDL | [https://github.com/douglascrockford/JSON-java/pull/120](https://togithub.com/douglascrockford/JSON-java/pull/120) | | Fix for JSONML.toString() | [https://github.com/douglascrockford/JSON-java/pull/118](https://togithub.com/douglascrockford/JSON-java/pull/118) | | Fix for JSONArray.toString() | (direct commit) https://github.com/douglascrockford/JSON-java/commit/d6ba31819c48db39be068c8b3b1fa985df09ea65 |