Re: [Boost-bugs] [Boost C++ Libraries] #9496: property_tree write_json should output correct types in JSON

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9496: property_tree write_json should output correct types in JSON
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-10 15:12:11


#9496: property_tree write_json should output correct types in JSON
------------------------------------------+---------------------------
  Reporter: Egbert van der Wal <ewal@…> | Owner: cornedbee
      Type: Patches | Status: closed
 Milestone: To Be Determined | Component: property_tree
   Version: Boost Development Trunk | Severity: Optimization
Resolution: invalid | Keywords:
------------------------------------------+---------------------------

Comment (by Egbert van der Wal <ewal@…>):

 While your response definitely shows a flaw in my patch, this does not
 invalidate the ticket, does it? It still remains an unwanted
 generalization of everything to string in using Boost's property_tree.

 Of course there are alternative libraries that will output JSON. My choice
 for using Boost property_tree is mainly based on my quest to minimize
 dependencies. Since my code already depends on Boost anyway, it's quite
 convenient to use as much from Boost as possible.

 A patch that actually remembers the type of data that was stored in the
 property_tree would have a chance to be accepted?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9496#comment:3>
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