git clone https://github.com/goplus/cjson.git
cd cjson
git submodule init
git submodule update
mkdir build.dir
cd build.dir
cmake ../cJSON
sudo make install
The _demo
directory contains our demos (it start with _
to prevent the go
command from compiling it):
- mkjson: create a json object and print it
To run the demos in directory _demo
:
cd <demo-directory> # eg. cd _demo/mkjson
llgo run .