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

If a list has itself as an element JSONObject(list) causes stack overflow error as seen in following code: ``` List

Active discussion

This pull request aims to enhance the test class by externalizing JSON data, improving readability, and promoting maintainability. Instead of embedding JSON directly in the test class, this change stores...

Active discussion

**A complete summary of the main issues of the comments can be found** [here](https://github.com/stleary/JSON-java/issues/822#issuecomment-1793540487). In one of my [repositories](https://github.com/openworld42/Cellolution) I am going to save the simulation state (lots of data)...

No changes at this time

When calling the `toString` method of a `JSONObject`, if a field of the object is an enum, the `name` method is called (when constructing the string) instead of the `toString`...

No changes at this time

Unfortunately invoking method `.toList()` on `JSONArray` Object causes entries of the `JSONArray` to become malformated. **Issue examples:** Output from `(JSONArray).get()` `{"data":{"pressure_avg":1012.3399999999999,"humidity_avg":61.5,"temperature_avg":12.85,"pm10_avg":0.6900000000000001,"pm25_avg":0.36},"school":{"city":"DŁUGOŁĘKA","street":null,"post_code":"19-111","latitude":"53.2753471","name":"SZKOŁA PODSTAWOWA W DŁUGOŁĘCE","longitude":"22.8683732"},"timestamp":"2023-05-19 23:56:45"}` Output from `(JSONArray).toList().get()` `{data={pressure_avg=1012.3399999999999, humidity_avg=61.5,...

# Stack overflow error caused by json-java serialization Map ## Description json-java before v20230227 was discovered to contain a stack overflow via the map parameter. This vulnerability allows attackers to...

In progress

# Stack overflow error caused by guicedee parsing of untrusted XML String ## Description Using **guicedee** to parse untrusted XML String may be vulnerable to denial of service (DOS) attacks....

In progress

Hey! We just got a report that our version of Json in Java - 20131018 , has a new CVE threat. We were wondering, is it compatible to port the...

No changes at this time

### Description We previously used json version [20070829](https://mvnrepository.com/artifact/org.json/json/20070829) and we have comment lines in our json files. When we are going to upgrade json version to [20231013](https://mvnrepository.com/artifact/org.json/json/20231013) , there is...

No changes at this time

https://nvd.nist.gov/vuln/detail/CVE-2023-5072 https://github.com/advisories/GHSA-rm7j-f5g5-27vv

Completed