Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9765: write_json(.., /*pretty=*/false) still outputs unnecessary spaces
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-10 11:46:59
#9765: write_json(.., /*pretty=*/false) still outputs unnecessary spaces
-------------------------------+---------------------------
Reporter: j.lonnee@⦠| Owner: cornedbee
Type: Bugs | Status: new
Milestone: To Be Determined | Component: property_tree
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------
Comment (by anonymous):
See
http://www.boost.org/doc/libs/1_55_0/boost/property_tree/detail/json_parser_write.hpp
:
In function 'write_json_helper' please replace the line:
'''stream << Str(4 * indent, Ch(' ')) << Ch(']');'''
With the 2 lines:
'''if (pretty) stream << Str(4 * indent, Ch(' '));[[BR]]
stream << Ch(']');'''
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9765#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC