If you want to access the latest code of JSONlab, you can get it from our subversion (SVN) repository. You must be aware that a SVN snapshot is not a stable release. It may contain partially implemented features and, thus, cause crashes or erroneous results.
To access JSONlab SVN repo, you first need to make sure you have installed a SVN client on your system. If your operating system (OS) is a Debian-based GNU/Linux system (such as Ubuntu, Knoppix etc), you can install SVN by
sudo apt-get install subversionif your OS a Redhat-based GNU/Linux system (such as Fedora, CentOS etc), you can do this by
su -c 'yum install subversion'If your OS is a Windows, we recommend you installing TortoiseSVN.
The latest code snapshot can be checked out from project's SVN repository. This can be done anonymously by the following command.
svn checkout svn://svn.code.sf.net/p/iso2mesh/code/trunk/jsonlab jsonlab
No password is required. After you checking out the code, you can build the library and use JSONlab in your software.
If you need to use JSONlab as a git submodule in your project, you may consider using the following github mirror:
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.
If you are one of the developers who have SVN write-permission, you can checkout the latest code with the same command above (of course, you have to register first and ask the project maintainer to grant you SVN permission).
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.