Boost logo

Boost Users :

Subject: [Boost-users] incompatible serialization format of boost::property_tree between 1.44 and 1.48
From: kpzhang (sail4dream_at_[hidden])
Date: 2011-12-12 05:33:25


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



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