Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9721: ptree write_json does not conform to JSON standard
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-27 15:02:09
#9721: ptree write_json does not conform to JSON standard
--------------------------------------------+---------------------------
Reporter: Mark Pfeifer <Mark_Pfeifer@â¦> | Owner: cornedbee
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: property_tree
Version: Boost 1.55.0 | Severity: Problem
Resolution: invalid | Keywords:
--------------------------------------------+---------------------------
Changes (by cornedbee):
* status: new => closed
* resolution: => invalid
Comment:
`ptree` internally only has strings. `put` converts from the values you
put in to strings, as `get` converts back. However, the tree itself only
contains strings, and therefore so does the output JSON.
Making a `ptree` variant that preserves JSON types is a future plan, but
far off.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9721#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