AndersSpringborg / bourne

json reader and writer

Home Page:https://steinwurf-bourne.netlify.app/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bourne

Linux make-specs Windows make-specs MacOS make-specs Linux CMake Windows CMake MacOS CMake Raspberry Pi Valgrind No Assertions Clang Format Cppcheck

https://raw.githubusercontent.com/steinwurf/bourne/master/bourne.gif

A simple c++11 json reader and writer.

Usage examples are located in the examples folder.

Fetch the sources:

git clone https://github.com/steinwurf/bourne
cd bourne

We use the waf build system to build the bourne static library. We have some additional waf tools which can be found at waf.

To configure and build bourne, run the following commands:

python waf configure
python waf build
python waf install --destdir=/tmp

The final install step will create a folder containing all the nessecary files needed to use the library (e.g. static library, headers etc.). You can change the output folder by passing a different path to --destdir:

To depend on this project when using the CMake build system, add the following in your CMake build script:

add_subdirectory("/path/to/bourne" bourne)
target_link_libraries(<my_target> steinwurf::bourne)

Where <my_target> is replaced by your target.

The code for this library have been inspired by the SimpleJSON library.

About

json reader and writer

https://steinwurf-bourne.netlify.app/latest/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 93.5%Language:Python 4.3%Language:CMake 2.2%