add validity check for JSONObject constructors by Madjosz · Pull Request #779 · stleary/JSON-java

stleary

approved these changes Oct 5, 2023

johnjaylward

@Madjosz

* fixes stleary#713
* document JSONException in JavaDoc
* remove unused Comparable<T> boundary to reuse GenericBean in test