This issue also presents in 1.60
On Fri, Dec 18, 2015 at 8:24 AM, Millman, Mark
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.
The exception.what() string thrown by boost::property_tree::read_json(filename,propertyTree) is
filename.json(linenumber): expected key string.
As I remove comments from my test JSON file the line number advances to the next comment.
Any hints as to how to deal with this? Removing all my comments is not an option.
Thanks, Mark
--
-- Mark Millman | Mizar, LLC mark.millman@mizar.com | 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.