You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my coworkers want to use JSONassert in their project, but (as the person responsible for insisting on proper licences) I need to tell them not to, because your code pulls in code from json.org under Douglas Crockford’s bad licence.
Maybe @thkoch2001 the Debian maintainer of this package could also maintain this in Maven Central (so it doesn’t end up being a one-shot). Thomas, what do you think about this, so we can more easily liberate more software using the bad code?
@mirabilos Thx for asking. I'd very much like to help. But I don't do any java development in my current job and therefor also all my contributions to debian-java have stalled in lack of time. Please ask upstream of libandroid-json-org!
Although as of today that Git repo has a file named
"MODULE_LICENSE_BSD_LIKE" that file is empty (thus not very BSD like
at all) and the parent https://android.googlesource.com/platform/libcore/+/master has a
LICENSE file which is GPL Version 2.
No, that’s not how Android’s way of tagging licences works.
They use the following schema:
Any module that has some sort of licence has one of those
“MODULE_LICENSE_*” files in it. They are empty unless in
special cases, they are merely used as “tags”.
The licence of a piece of code is not determined by the
presence of some licence in some other directory anyway
but by the licence grant on the particular work. The
JSON implementation in question has an explicit grant
under the Apache 2.0 licence.
It’s actually common for a bigger project to accumulate
various licences; the GPL you saw doesn’t apply to the
JSON implementation, only to other parts of libcore (and
ordinarily to the whole when combined, but it’s not just
GPL, it’s GPL with classpath exception, so effectively
not “viral”).
(only missing the org.json.JSONString interface). Switching to that works. I'll try to submit a pull request.
OK, thanks!
bye,
//mirabilos
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence. -- Coywolf Qi Hunt
This makes sense. My apologies for getting so far behind on maintaining the project. Merging and cutting a new release now. 1.4.0 will be available on maven in a few days.
org.json has been moved to public domain. Can we switch back now?
Douglas Crockford hasn’t yet been dead for 70 years, so it’s not
in the Public Domain in the EU.
PD dedications in general work only in the country of origin, at
best (that is if they work at all); everywhere else (at least the
Berne Convention signatory countries) needs a fallback licence.
Best to get CC0 as licence, for something like this (the OSI guys
don’t like it but there’s no better alternative yet).
bye,
//mirabilos
--
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence. -- Coywolf Qi Hunt
Activity
mirabilos commentedon Oct 15, 2014
Maybe @thkoch2001 the Debian maintainer of this package could also maintain this in Maven Central (so it doesn’t end up being a one-shot). Thomas, what do you think about this, so we can more easily liberate more software using the bad code?
thkoch2001 commentedon Oct 15, 2014
@mirabilos Thx for asking. I'd very much like to help. But I don't do any java development in my current job and therefor also all my contributions to debian-java have stalled in lack of time. Please ask upstream of libandroid-json-org!
[cleanup] removed JSONAssert due to licensing issues
[cleanup] removed JSONAssert due to licensing issues
[cleanup] removed JSONAssert due to licensing issues
[cleanup] removed JSONAssert due to licensing issues
[cleanup] removed JSONAssert due to licensing issues
[cleanup] removed JSONAssert due to licensing issues
DavidBiesack commentedon Jul 12, 2016
@mirabilos The cited android library https://android.googlesource.com/platform/libcore/+/master/json appears to be GPL. Although as of today that Git repo has a file named "MODULE_LICENSE_BSD_LIKE" that file is empty (thus not very BSD like at all) and the parent https://android.googlesource.com/platform/libcore/+/master has a LICENSE file which is GPL Version 2.
mirabilos commentedon Jul 12, 2016
David Biesack dixit:
No, that’s not how Android’s way of tagging licences works.
They use the following schema:
Any module that has some sort of licence has one of those
“MODULE_LICENSE_*” files in it. They are empty unless in
special cases, they are merely used as “tags”.
The licence of a piece of code is not determined by the
presence of some licence in some other directory anyway
but by the licence grant on the particular work. The
JSON implementation in question has an explicit grant
under the Apache 2.0 licence.
It’s actually common for a bigger project to accumulate
various licences; the GPL you saw doesn’t apply to the
JSON implementation, only to other parts of libcore (and
ordinarily to the whole when combined, but it’s not just
GPL, it’s GPL with classpath exception, so effectively
not “viral”).
DavidBiesack commentedon Jul 12, 2016
Ahh, thanks for clearing that up.
DavidBiesack commentedon Jul 13, 2016
http://search.maven.org/#artifactdetails%7Ccom.vaadin.external.google%7Candroid-json%7C0.0.20131108.vaadin1%7Cjar is an Apache 2.0 clean room implementation of org.json
(only missing the org.json.JSONString interface). Switching to that works. I'll try to submit a pull request.
mirabilos commentedon Jul 13, 2016
David Biesack dixit:
That’s precisely what we used in one of our projects, yes.
OK, thanks!
bye,
//mirabilos
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence. -- Coywolf Qi Hunt
gvt commentedon Oct 15, 2016
+1
carterpage commentedon Oct 30, 2016
This makes sense. My apologies for getting so far behind on maintaining the project. Merging and cutting a new release now. 1.4.0 will be available on maven in a few days.
jbotuck commentedon May 16, 2023
org.json has been moved to public domain. Can we switch back now?
mirabilos commentedon May 16, 2023