JSON-based implementation of Data I/O Interface
On a terminal, get the GitHub code repository with:
$ git clone https://github.com/LabDin/Data-IO-JSON [<my_project_folder>]
This implementation depends on Data I/O Interface and Simple JSON projects, which are added as git submodules.
To add those repositories to your sources, navigate to the root project folder and clone them with:
$ cd <my_project_folder>
$ git submodule update --init
With dependencies set, you can now build the library to a separate build directory with CMake:
$ mkdir build && cd build
$ cmake ..
$ make
For building it manually e.g. with GCC in a system without CMake available, the following shell command (from project directory) would be required:
$ gcc data_io_json.c json/json.c -Iinterface -Ijson -shared -fPIC -o libdataiojson.{so,dll}