Simple JSON library for modern C++ with no dependencies. A few features include:
- π Parsing JSON from a string or file
- π Writing JSON to a string or file
- π Accessing JSON values by key or index
- π Iterating over JSON objects and arrays
- βοΈ Modifying JSON objects and arrays
- π¨ Pretty printing JSON
- All with a simple and intuitive API π
- Make sure you have the gnu g++ compiler installed on your system. You can install it by running the following command:
sudo apt install g++ build-essential- Clone the repository:
git clone --recurse-submodules git@github.com:coding-cpp/json.git- Build the project π¨
cd json
mkdir build && cd build
cmake ..
make- Run the example
./jsonYou can find an example of how to use the library in the example directory.

