Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::property_tree::read_json fails on previously supported comments 1.59
From: Millman, Mark (mark.millman_at_[hidden])
Date: 2015-12-18 13:51:19


If this is an official upgrade -- to no longer support comments -- then
I'll write myself a file-to-stream comment stripper and pass the stream to
read_json.

As a consumer of JSON and Boost it seems like a poor choice to drop
something that is so useful and has been supported for so long.

Thanks for the information though. Mark

On Fri, Dec 18, 2015 at 10:45 AM, Agustín K-ballo Bergé <
kaballo86_at_[hidden]> wrote:

> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Mark Millman | Mizar, LLC
mark.millman_at_[hidden] | www.mizar.com
(702) 799-9968
9908 Alegria Dr | Las Vegas, NV 89144
 The information contained in this communication may be confidential, is
intended only for the use of the recipient(s) named above, and may be
legally privileged. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution, or
copying of this communication, or any of its contents, is strictly
prohibited. If you have received this communication in error, please return
it to the sender immediately and delete the original message and any copy
of it from your computer system. If you have any questions concerning this
message, please contact the sender.


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