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
Update version of org.json #26
Comments
I've spoken with Sonatype who suggested I collaborate with the project author. Unfortunately, Douglas Crockford does not wish to work with me to publish new versions of org.json to maven central. We don't know who was responsible for the current mvn packages. |
I confirmed that the latest org.json code fixed #25. Since perhaps @douglascrockford isn't a fan of maven, we could fork and release our own version:
This could be a service to other libraries and projects that are frustrated with the lack of maven support for the library. Thoughts? |
On 17 March 2013 13:47, Carter Page notifications@github.com wrote:
|
We don't need to maintain the fork. We just publish a snapshot of the library so we can get access to the bug fixes. JSON uses the MIT license, which is simple and highly permissive, so copyright isn't an issue. The library is going to be called jsonassert-json-20130317.jar, and it will be in the skyscreamer groupid, so I think we avoid the risk that someone thinks we are claiming to be the original project owner. That's Sonatype's main concern, and we'll be careful to avoid that confusion. If you look at http://www.jarvana.com/jarvana/search?search_type=class&java_class=org.json.JSONObject, you'll see there are already about 2 dozen projects, including Apache Geronimo, that do this. Just none are up-to-date or clean enough for our purposes. |
Ok, that sounds convincing enough for me :-) On 17 March 2013 19:20, Carter Page notifications@github.com wrote:
|
I am also convinced |
There is another org.json in Central - see http://search.maven.org/#artifactdetails%7Corg.codeartisans%7Corg.json%7C20130603%7Cjar <dependency> with description: "Deployed artifact from the Douglas Crockford org.json master branch.". Perhaps that will work. |
Good find! I'll check it out. On Wed, Jul 24, 2013 at 10:41 AM, David Biesack notifications@github.comwrote:
|
Why not simply use http://code.google.com/p/json-simple/ ? |
Unless it is a direct clone or org.json, it will break backwards On Wed, Sep 4, 2013 at 7:16 PM, Hans notifications@github.com wrote:
|
Replacing json.org with clean-room android JSON due to license issues in 1.4.0. |
As @hertzsprung pointed out, we're running an ages-old version of org.json. We're looking into helping them update the version they have in maven. If that doesn't work, we may need to either fork it ourselves, or look at other libraries. (We chose org.json for it's simplicity and lack of additional dependencies, so we'd like to stick with it if possible.)
The text was updated successfully, but these errors were encountered: