Top "Boost-propertytree" questions

The Boost PropertyTree library provides a data structure that stores an arbitrarily deeply nested tree of values, indexed at each level by some key.

Creating JSON arrays in Boost using Property Trees

I'm trying to create a JSON array using boost property trees. The documentation says: "JSON arrays are mapped to nodes. …

c++ json boost boost-propertytree
Serializing and deserializing JSON with Boost

I'm newbie to C++. What's the easiest way to serialize and deserialize data of type std::Map using boost. I've …

c++ json boost boost-propertytree
Boost 1.46.1, Property Tree: How to iterate through ptree receiving sub ptrees?

First of all I shall say that I think I got how it should be done but my code will …

c++ boost subtree boost-propertytree boost-foreach
Boost PropertyTree: check if child exists

I'm trying to write an XML parser, parsing the XML file to a boost::property_tree and came upon this …

c++ boost boost-propertytree
How to iterate a boost property tree?

I am know approaching to boost property tree and saw that it is a good feature of boost libs for …

c++ xml iterator boost-propertytree
Why does Boost property tree write_json save everything as string? Is it possible to change that?

I'm trying to serialize using boost property tree write_json, it saves everything as strings, it's not that data are …

json boost boost-propertytree
Parsing XML Attributes with Boost

I would like to share with you an issue I'm having while trying to process some attributes from XML elements …

c++ xml boost boost-propertytree
Using boost property tree to read int array

I have some JSON with a handful of integer array variables, like so: {"a": [8, 6, 2], "b": [2, 2, 1]} I would like to use …

c++ json boost boost-propertytree
Boost Property_Tree iterators, how to handle them?

I am sorry, I asked a question about the same topic before, but my problem concerns another aspect of the …

c++ iterator boost-propertytree
boost::property_tree XML pretty printing

I'm using boost::property_tree to read and write XML configuration files in my application. But when I write the …

c++ boost boost-propertytree