Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2020-09-21 16:49:28

On Mon, Sep 21, 2020 at 9:44 AM Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
> s.object_begin();
> s.key("bar");
> Bar bar = deserialize<Bar>(s);
> s.key("baz");
> string baz = s.string();
> s.object_end();
> return Foo{std::move(bar), std::move(baz)};

This looks very much like it depends on the order of appearance of
keys in the JSON, which is non-standard.

> In both cases, I'd like to read/write my data from/to JSON with the
> same framework.

Why? What specifically, is the requirement here?


Boost list run by bdawes at, gregod at, cpdaniel at, john at