You can download the latest version of JSONLab using the following github repository:
https://github.com/fangq/jsonlab
you may clone this JSONLab git repo using
git clone https://github.com/fangq/jsonlab.git jsonlab
or add it as a submodule by
git submodule add https://github.com/fangq/jsonlab.git jsonlab
under your git project working folder.
By downloading the JSONLab library, we assume you accept one of the designated licenses of JSONLab.
JSONLab is licensed under the 2-clause BSD license, and thus is highly permissible for being used in free and commercial software. If you compile or link (BSD-licensed) JSONLab library into your software, you are not required to open-source the source code of other related modules (unless you choose to). All you need to do is to acknowledge you used JSONLab in your software and duplicate the author's copyright and license disclaimer.
JSONLab is also dual-licensed under the GNU General Public License (GPL) version 3. GPLv3 requires the derived software to be open-sourced and gives authors more protection. If you choose to derive JSONLab to incorporate your own changes, you must select which branch (or license) of JSONLab you are deriving from. Once derived as GPLv3, the future changes must be released under GPLv3 only. Please be aware that rewriting JSONLab algorithms in a different language is generally considered a derived work unless the JSONLab library is treated as a black-box in the process.