24 Nov
2019
24 Nov
'19
12:10 p.m.
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.