-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unclear relevance relative to other JSON libraries (particularly javax.json) #702
Comments
The following table might help in the difference between org.json and javax.json
|
@madhavgupta2011 Thank you, this is very helpful. I will look into incorporating this into the docs part of the project. |
I'm not sure I'd agree with a lot of that comparison.
|
@stleary @johnjaylward let me revise that table and send it when I get time. Thank you. |
Please, add the license in comparision table. JSON-Java is released as public domain, Jakarta JSON Api is released with Eclipse and GPL+ GNU Classpath Exception |
@stleary difference between org.json and javax.json already discussed in the previous post, anything else i can do here as a beginner |
@lalithabourishetty-commits Please create a file called |
@stleary while trying to clone forked repo facing access issue, any permission do i need ? |
just ignore above |
@stleary :
I found this JSON library benchmark comparison project: https://github.com/fabienrenaud/java-json-benchmark The results in the of the benchmark are displayed as graphs in the Readme. Based on this benchmark org.json is at the lower end, compared to other optimised libraries. |
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 provides javax.json.JsonObject. The purposes of both libraries are clearly similar, and while there are obvious differences like licencing (this one is public domain), it takes time for evaluators to determine how to choose between these 2 options. And there are more, including Gson and Jackson.
Please provide a comparison, either as a feature table or as free-form text to help making a choice. If a third-party offers a neutral comparison, linking to it could suffice. If not, creating a comparison which focuses on comparing to javax.json-api would already be a good start. I would prioritize listing advantages of org.json, whether in terms of performance, flexibility or simplicity, but disadvantages would also help greatly.
A few resources already help:
The text was updated successfully, but these errors were encountered: