
On Mon, Mar 26, 2012 at 17:01, Andrzej Krzemienski <akrzemi1@gmail.com>wrote:
Boost does provide parsers and writers for JSON and XML files. See http://www.boost.org/doc/libs/1_49_0/doc/html/property_tree.html.
Far from the truth. Boost.PropertyTree provide serializers to both but there is no way to exploit the full XML and JSon language without some hacking. For example, just try to set the value null to a JSon attribute. The serializer just doesnt work like that because its supposed to work with ptrees only and there is no null concept in ptrees. Even the boost.property_tree documentation acknoledge that this is not the goal. Here it is about libraries focusing on the full language manipulation. If you want to manipulate json data, you really need a json library, like for xml. Joel Lamotte