Several comments mention the "Software shall be used for Good, not Evil" licensing issue in the JSON code from json.org.<p>The original json.js file from json.org had this copyright and license:<p><pre><code> Copyright (c) 2005 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The Software shall be used for Good, not Evil.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</code></pre>
<a href="http://web.archive.org/web/20060226161035/http://www.json.org/json.js" rel="nofollow">http://web.archive.org/web/20060226161035/http://www.json.or...</a><p>This was a standard MIT license with one change:<p>"This license uses the Expat [MIT] license as a base, but adds a clause mandating: “The Software shall be used for Good, not Evil.” This is a restriction on usage and thus conflicts with freedom 0. The restriction might be unenforcible [sic], but we cannot presume that. Thus, the license is nonfree."<p><a href="http://www.gnu.org/licenses/license-list.html#JSON" rel="nofollow">http://www.gnu.org/licenses/license-list.html#JSON</a><p>However, the current versions of json.js and json2.js on GitHub contain only this public domain dedication and disclaimer:<p><pre><code> Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
</code></pre>
<a href="https://github.com/douglascrockford/JSON-js/blob/master/json2.js" rel="nofollow">https://github.com/douglascrockford/JSON-js/blob/master/json...</a><p>So it's no longer an issue. You can feel free to use json2.js for good <i>or</i> evil.