Opened 7 years ago

Last modified 6 years ago

#6668 new Feature Requests

support overloads of read_xxx from boost::filesystem::path

Reported by: vanyacpp@… Owned by: Sebastian Redl
Milestone: To Be Determined Component: property_tree
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

It would be great to have overloads of

read_info read_json read_xml read_ini

from boost::filesystem::path.

Change History (1)

comment:1 Changed 6 years ago by gast128@…

Maybe this could be extended to a whole data format library. Some supported forms:

  • xml
  • json
  • yaml
  • hdf5
  • etc.

Now property_tree and serialization library implement their own (limited) set of xml writing and parsing. Especially Boost.Serialization is very critical on the input of xml (e.g. spaces in incorrect places lead to errors. In fact the only guaranteed way is to let Boost.Serialization do the writing to xml). However a data format library with modern c++ (and support for large data sets, i.e. the possibility that the data is not loaded in memory at once) is a proposal for its own.

Note: See TracTickets for help on using tickets.