From: Peter Dimov (pdimov_at_[hidden])
Date: 2019-12-08 19:38:20
Robert Ramey wrote:
> > What is the benefit of a "JSON archive" that is not achieved with other
> > archive types?
> For my purposes - nothing. The text version is just fine.
There is nothing inherently preventing the serialization library from
serving the additional use case that you consider off-limits. Your only
concern is serializing a C++ structure to a mostly unspecified format and
then reading it back, but there's also a scenario where you have an existing
and specified format to which you tailor your C++ structures so that
serializing them produces the specified format, and deserializing them reads
This is admittedly somewhat complicated by the - largely opaque - metadata
the library inserts, but it's doable.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk