question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider switching to org.json implementation without "don't be evil" license restriction

See original GitHub issue

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 858c8051301854e8343eef66aa68c6b9dab1c328 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

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
vpaviccommented, Nov 18, 2022

I just learned that org.json:json recently changed their license to remove the The Software shall be used for Good, not Evil clause. Unfortunately, the replacement is something that appears to be ambiguous. See here for more details:

1reaction
sazzad16commented, Nov 17, 2022

@philwebb WDYT about breaking Jedis in release 4.4.0 to resolve this issue?

References:

Read more comments on GitHub >

github_iconTop Results From Across the Web

JSON.org License Literally Says it "shall be used for ... - Reddit
The license includes this restriction: "The software shall be used for good, not evil." If your conscience cannot live with that, then choose...
Read more >
JSON license again-Apache Mail Archives
That decision is that the json.org license is a Category A license. ... ://www.cnet.com/news/dont-be-evil-google-spurns-no-evil-software/ ...
Read more >
The fly in the ointment of the JSON license - Synopsys
Use of some JSON projects is limited by the JSON License, which has a problematic, ambiguous clause. The Apache Foundation recently reexamined the...
Read more >
Several comments mention the "Software shall be used for ...
"This license uses the Expat [MIT] license as a base, but adds a clause mandating: “The Software shall be used for Good, not...
Read more >
Good and not Evil: the Advent of Ethos Licensing
For years, my clients have asked me what to do about the “Good not Evil” license, which is most famously applied to JSON...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found