Skip to content

JSON Spirit

JSON is a text file format similar to XML, but less verbose. It has been called "XML lite". This article describes JSON Spirit, a C++ library that reads and writes JSON files or streams. It is written using the Boost Spirit parser generator. If you are already using Boost, you can use JSON Spirit without any additional dependencies.

Key features

  • supports ASCII or Unicode
  • std::vector or std::map implementations for JSON Objects
  • object library or header file only use

See also

Favorite site