Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::property_tree::read_json fails on previously supported comments 1.59
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2015-12-18 13:45:36


On 12/18/2015 1:24 PM, Millman, Mark wrote:
> I recently upgraded from 1.56 to 1.59 and my hundreds of well commented
> JSON parameter files now all fail on the first commented line. This is
> true for /* */ and // style comments.

This is listed as a breaking change in the release notes at
http://www.boost.org/users/history/version_1_59_0.html

> Any hints as to how to deal with this? Removing all my comments is not
> an option.

If you must use nonstandard JSON then you might want to stick with 1.58,
or otherwise write your own parser.

Regards,

-- 
Agustín K-ballo Bergé.-
http://talesofcpp.fusionfenix.com

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