¡@

Home 

c++ Programming Glossary: ptree

Serializing and deserializing json with boost

http://stackoverflow.com/questions/12394472/serializing-and-deserializing-json-with-boost

example. #include sstream #include boost property_tree ptree.hpp #include boost property_tree json_parser.hpp using boost.. property_tree json_parser.hpp using boost property_tree ptree using boost property_tree read_json using boost property_tree.. boost property_tree write_json void example Write json. ptree pt pt.put foo bar std ostringstream buf write_json buf pt false..

How to parse ini file with Boost

http://stackoverflow.com/questions/6175502/how-to-parse-ini-file-with-boost

to read .ini files #include boost property_tree ptree.hpp #include boost property_tree ini_parser.hpp ... boost property_tree.. boost property_tree ini_parser.hpp ... boost property_tree ptree pt boost property_tree ini_parser read_ini config.ini pt std..

boost::property_tree xml pretty printing

http://stackoverflow.com/questions/6572550/boostproperty-tree-xml-pretty-printing

I did a small test program #include boost property_tree ptree.hpp #include boost property_tree xml_parser.hpp int main void.. xml_parser.hpp int main void using boost property_tree ptree ptree pt reading file.xml read_xml file.xml pt writing the unchanged.. int main void using boost property_tree ptree ptree pt reading file.xml read_xml file.xml pt writing the unchanged..