JSON-java icon indicating copy to clipboard operation
JSON-java copied to clipboard

A reference implementation of a JSON package in Java.

Results 66 JSON-java issues
Sort by recently updated
recently updated
newest added

poc as follw: >` Map a=new HashMap(); a.put(" ",a); JSONObject A=new JSONObject(a); `

Active discussion

Trying to gauge the impact of the upgrade to Java 8 in Release `20231013`.

Feedback Requested

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...

Draft

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...

architecture-design-or-implementation concerns

# 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....

Active discussion

**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...

Approved - by myself
Approved - 7 day comment window

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...

In progress
High priority

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...

Active discussion