Skip to content

coding-cpp/json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON

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 😊

Usage πŸ’»

  1. 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
  1. Clone the repository:
git clone --recurse-submodules git@github.com:coding-cpp/json.git
  1. Build the project πŸ”¨
cd json
mkdir build && cd build
cmake ..
make

Building

  1. Run the example
./json

Running

Example πŸ› οΈ

You can find an example of how to use the library in the example directory.

About

Simple JSON library for modern C++

Topics

Resources

License

Stars

Watchers

Forks