JSON-java
JSON-java copied to clipboard
A reference implementation of a JSON package in Java.
poc as follw: >` Map a=new HashMap(); a.put(" ",a); JSONObject A=new JSONObject(a); `
Trying to gauge the impact of the upgrade to Java 8 in Release `20231013`.
fix for: #737 PR for discussion: I suggest making the `JSONArray` class to implement the `List` because contains the functionality of a list also is powered by an `ArrayList` which...
While `JSONTokener(java.io.Reader)` and `JSONTokener(java.io.InputStream)` constructors have explicit notes about JSONTokener not closing the reader/stream, I’d like to have it close the reader/stream. Implementing `java.io.Closeable` isn’t backward-incompatible (if the library user...
# Stack overflow error caused by guicedee parsing of untrusted JSON String ## Description Using **guicedee** to parse untrusted JSON String may be vulnerable to denial of service (DOS) attacks....
**What problem does this code solve?** Fixes #893 by updating jsonpath, which is only used for unit tests, from 2.4.0 to 2.9.0. **Does the code still compile with Java6?** Yes...
Strict mode now works for JSONArray (see #877), but not for JSONObject or for JSONArrays embedded in JSONObjects. For example, the following code parses without error: ``` String str =...
The unit tests should yield the same result for default and strict mode parsing. Tests may fail for the following reasons: * The test data inadvertently does not include double...
Test dependency JsonPath 2.4.0 [seems to have](https://mvnrepository.com/artifact/com.jayway.jsonpath/json-path/2.4.0) 1 direct vulnerability and 58 transitive vulnerabilities. Can it be updated to 2.9.0 (which has no vulnerabilities as of today) for the next...