|
Boost : |
From: Bjorn Reese (breese_at_[hidden])
Date: 2019-11-24 12:10:13
On 11/17/19 7:31 PM, Robert Ramey via Boost wrote:
> If someone wants to make a JSON version of boost serialization that's
> fine. But don't think that you can make an implementation which is
> independent of the C++ data structures being serialized.
It is a matter of serialization overloads. The ones provided by
Boost.Serialization are free functions, where you cannot do partial
specialization, so I had to forward everything to a struct as described
here:
http://breese.github.io/2015/12/20/partiality-for-functions.html
If you want a JSON format with a different layout of JSON Objects,
then you simply create and include a different set of overloads. The
JSON archive remains the same.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk