JSON-java
JSON-java copied to clipboard
A reference implementation of a JSON package in Java.
JSON API version: 20180813 converts empty xml elements to empty string in place of empty JSON Object
Recently, for a requirement I had to move to version:20180813 of JSON API. Earlier I was using version:20090211 of JSON API. For empty xml element, version:20090211 returns empty JSON Object...
Judging on commit history, the Javadoc was last updated four years ago. It's over 300 commits behind. You can use [Deploy Publish Javadoc](https://github.com/marketplace/actions/deploy-publish-javadoc) to automatically build and publish the Javadoc...
This issue tracks the history and next steps for some recent issues and PRs concerning different handling for optLong and getLong in JSONObject and XML. #653 noted that JSONObject optLong()...
Hello JSON-java maintainers, I'm reaching out regarding the `keepStrings` flag. Currently, this flag controls the type conversion for both numbers and booleans uniformly. In my use case, I require more...
There are a lot of tests with an Aaron pattern like `assertTrue("message", expected.equals(actual))` If such an fails, it only returns the message as indicator of the failure, but the difference...
Hello there! I am curious about the new behavior introduced in [20231013](https://mvnrepository.com/artifact/org.json/json/20231013) (ref [#783](https://github.com/stleary/JSON-java/pull/783/files#diff-ef151e65679a81ad727c5af36a8d84dd867146a5da1dede68b4c37f4866ab57bR2427)), where the JSONObject constructor trims 0-led integers and converts them to int type instead of String...
Our team needs to receive and send JSON and wants to use a JSON library to facilitate that. org.json provides org.json.JSONObject while [javax.json-api](https://mvnrepository.com/artifact/javax.json/javax.json-api) provides javax.json.JsonObject. The purposes of both libraries...
### Add info about which signing keys will be used for published artifacts. Looks like the signing key changed for the [20230618](https://github.com/stleary/JSON-java/tree/20230618) release. `20230618` appears to be signed with this...
When I test the latest version(20231013) of JSON-java by CIFuzz,a OOM security issue was found, it caused when put a big number in JSONArray, may cause denial of service issues...
Hi, I spent a few days trying to fix an issue where I got the following error: ``` java.nio.file.FileSystemException: path/to/file: The process cannot access the file because it is being...