Boost logo

Boost Users :

Subject: Re: [Boost-users] incompatible serialization format of boost::property_tree between 1.44 and 1.48
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-12-12 11:19:09


kpzhang wrote:
> Hi,
> Several days ago I upgrade boost from 1.44 to 1.48 and I found
> that serialization format is not compatible for node of 'char' type.
>
> The serialization format of a "char a=0" node in boost1.44 is: {
> "a": "\0" } while in boost1.48 is: { "a": "\u0000" }
>
> For the format of boost1.44, read_json of boost1.48 will throw
> exception which complains unexpected escaped slash.
>
> Is this intended behavior or a bug or my misuse? Any suggestions
> is welcomed.
>
> Regards,
> Ivan

I would be curious to know:

os
compiler
type of archive used.

Robert Ramey



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net