#include <boost/property_tree/ptree.hpp>#include <boost/property_tree/detail/json_parser_read.hpp>#include <boost/property_tree/detail/json_parser_write.hpp>#include <boost/property_tree/detail/json_parser_error.hpp>#include <fstream>#include <string>#include <locale>
Namespaces | |
| boost | |
| Duration formatting facet for input. | |
| boost::property_tree | |
| boost::property_tree::json_parser | |
Functions | |
| template<class Ptree > | |
| void | boost::property_tree::json_parser::read_json (std::basic_istream< typename Ptree::key_type::value_type > &stream, Ptree &pt) |
| Read JSON from a the given stream and translate it to a property tree. More... | |
| template<class Ptree > | |
| void | boost::property_tree::json_parser::read_json (const std::string &filename, Ptree &pt, const std::locale &loc=std::locale()) |
| Read JSON from a the given file and translate it to a property tree. More... | |
| template<class Ptree > | |
| void | boost::property_tree::json_parser::write_json (std::basic_ostream< typename Ptree::key_type::value_type > &stream, const Ptree &pt, bool pretty=true) |
| Translates the property tree to JSON and writes it the given output stream. More... | |
| template<class Ptree > | |
| void | boost::property_tree::json_parser::write_json (const std::string &filename, const Ptree &pt, const std::locale &loc=std::locale(), bool pretty=true) |
| Translates the property tree to JSON and writes it the given file. More... | |