I have a simple code which is not working and I don't really know why... here it's: The problem here is that after calling m_root.read_json(...) th ...
I have a simple code which is not working and I don't really know why... here it's: The problem here is that after calling m_root.read_json(...) th ...
I want to write a boost::property_tree::ptree binary to a file, and read it out again into a ptree. Since i´m not very comfort with the ptree and bin ...
I have on the left side of the page and based on the p-tree node selected I am calling respective table data on the right side.I can only show the tab ...
I'm trying to access missing values in boost json ptree. When the key was not matched, a method should be called, in which I can define the returned v ...
How to get the positions of nodes of TreeNode of pTree in Angular as per the hierarchial order in which they are displayed? I am having data of type ...
I would like to know if there is a way to get the data in children nodes by iterating through a vector of the parent nodes. I have an XML file that I ...
I am using primeng tree to display json data like this: The JSON data is being read into dataToDisplayFromConfig. I want to make certain nodes invi ...
I am using boost-property-tree in a C++ application, where I am trying to read a JSON file users.json and store the data into a vector of object (std: ...
I want to use this Function and make a custom sorting function, but I don't know how the Compare Function works or with a lambda. Could someone be so ...
I am doing a very basic example from primefaces showcase Primefaces Version = V-6.0.18 WAS 9 https://www.primefaces.org/showcase/ui/data/htree/basi ...
I am doing a ptree.put() inside a class member function. I am creating an instance of the class and setData1() is called by a callback function in ...
I'm using boost::ptree for creating an xml file This creates following XML file So far so good, but I need to put xml attributes into the <so ...
How to get the value of A.B if i iterate through the ptree it works. if i try to get value of pt.get_child("A\.B").get_value<std::string>(). i ...
My JSON is this: I can get id's value "x" by looping, and exiting when it.first is id: What I want, however, is to get the id's value by somethi ...
I want to remove a node from a ptree which is based on xml: I have an algorithm to find the right node which returns a pointer to the removing node ...
I am using boost library to manipulate a JSON file and I would like to access to a specific index of an array in this JSON. What I would like to do ...
In the following code using C++ Boost property tree, I expect a beautiful output such as while in reality I receive: Is there any built-in metho ...
In a boost property tree, I would like to rename a key such as a.b.c2 to a.b.c3. One method is to remove the node and put its copy with another name. ...
In an attempt to remove children of a boost property tree, I use a direct node in erase function which lead to at What is the correct form of t ...
With my tree looking like this: What i am looking to do is iterate through the libraries. When i find the L_ID that i am looking for, iterate throu ...