cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Boost pTree json parser, how does it wor
Boost pTree json parser, how does it work?
Sep 27, 2014 at 2:08am UTC
poteto
(525)
http://www.boost.org/doc/libs/1_56_0/boost/property_tree/json_parser.hpp
I think that this example is well documented, but I don't know how to approach it.
I would like to have a functioning example of using this :>
Sep 27, 2014 at 2:22am UTC
TwilightSpectre
(1392)
Its not hard - basically the same as using their XML parser. Their parsers are just ways of serializing their property trees.
For how to use their property tree in general, refer to this:
http://www.boost.org/doc/libs/1_56_0/doc/html/boost_propertytree/tutorial.html
As for using their JSON parser in particular, look at this:
http://www.boost.org/doc/libs/1_56_0/doc/html/boost_propertytree/parsers.html#boost_propertytree.parsers.json_parser
If you need any more help, just ask.
Sep 27, 2014 at 2:46am UTC
poteto
(525)
Got that xml parser to json very easily.
Lot more easier than I expected.
Topic archived. No new replies allowed.