Boost logo

Boost :

Subject: Re: [boost] [gsoc]
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2012-03-26 04:10:46


On Mon, Mar 26, 2012 at 17:01, Andrzej Krzemienski <akrzemi1_at_[hidden]>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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk