-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Consider switching to org.json implementation without "don't be evil" license restriction #3189
Comments
@philwebb Thank you for creating this issue including possible alternates.
It can only be replaced. The idea of |
@philwebb WDYT about breaking Jedis in release 4.4.0 to resolve this issue? References: |
I just learned that |
In the ideal world, we would not make any changes - because changes like the ones contemplated, mean API changes. API changes like this break users, and I'll err on the side of not doing this. Prior to choosing a path, it would be great to at least see what the response to [the JSON issue][https://github.com/stleary/JSON-java/issues/706] will be. |
I agree, waiting to see what's the outcome of Until then, users that are affected by |
With stleary/JSON-java#706 now closed it appears that Since #3256 this project already depends on |
This issue is marked stale. It will be closed in 30 days if it is not updated. |
|
If |
Expected behavior
It should be possible to use Jedis without needing to have lawyers accept the "don't be evil" clause of
org.json
.Actual behavior
As of commit 858c805 Jedis has a mandatory dependency on
org.json:json
. This library has an unfortunate "don't be evil" clause added to its MIT license which causes legal problems for some organizations.See https://wiki.debian.org/qa.debian.org/jsonevil and https://www.apache.org/legal/resolved.html#json for additional background.
Perhaps the library could be optional (similar to #2961) or replaced with
com.vaadin.external.google:android-json
which is a clean room implementation of the API without any license issues.Steps to reproduce:
n/a
Redis / Jedis Configuration
n/a
Jedis version:
4.0 and above
Redis version:
n/a
Java version:
n/a
The text was updated successfully, but these errors were encountered: