Files
llgo/c/cjson/README.md
2024-06-20 00:44:15 +08:00

504 B

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 .