Files
llgo/c/cjson
2024-07-30 17:25:33 +08:00
..
2024-07-26 16:43:51 +08:00
2024-07-30 17:25:33 +08:00

LLGo wrapper of DaveGamble/cJSON

How to install

on macOS (Homebrew)

brew install cjson 

on Linux (Debian/Ubuntu)

apt-get install -y libcjson-dev

Demos

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

How to run demos

To run the demos in directory _demo:

cd <demo-directory>  # eg. cd _demo/mkjson
llgo run .