cpp-json-qi
A C++ header-only library for parsing, formatting, storing and validating JSON documents. Supports JSON's basic types: Number, String, Boolean, Array, Object, null.
Directories
- build - directory for tests & examples
- examples - examples source code
- include - the source code of the library
- test - test source code
More information
Tested compilers
- Linux (x86/64)
- GCC 4.8, Boost 1.54
- Clang 3.4, Boost 1.54
- Windows (x86/64)
- MSVC 14, Boost 1.57
Installation
This is a header only library, in order to use it make the cpp-json-qi-include
directory available to your project and include the header file in your source code:
#include "cpp-json-qi/json.h"
Building Tests & Examples
This project tests and examples use the Cross-platform Make (CMake) build system. Tests depend on Google Test Framework. gtest-1.7.0 is recommended.
Linux
The recommended way is to create 'out of source' build:
cd cpp-json-qi/build
cmake ..
make
Windows
Visual Studio:
Follow the directions at the link for running CMake on Windows:
http://www.cmake.org/runningcmake/
NOTE: Select the "build" folder as the location to build the binaries.
Deleting all files Make & CMake created
make clean-all
Contact
[Grigoriy Chudnov] (mailto:g.chudnov@gmail.com)
License
Distributed under the The MIT License (MIT).