Subject: [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:43:32
#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
Keywords: |
------------------------------+---------------------------
Using boost::property_tree::write_json(output, data, /*pretty=*/false);
with an array in the data still outputs spaces before the ']'.
When you want to calculate HASH-es from JSON (and therefor do not want
extra whitespaces in it) generated by different tools that is a problem.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9765> 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