The ideal scenario would to have Cerializer parse directly from a string -> C++ struct, but thats a different story altogether.
In case you aren't familiar with them, you might be interested in taoJSON, which can convert directly between JSON and C++ types (in addition to providing a tao::json::value that is similar to nlohmann::json), and spotify-json, which is dedicated exclusively to converting directly between JSON and C++ types.
In case you aren't familiar with them, you might be interested in taoJSON, which can convert directly between JSON and C++ types (in addition to providing a
tao::json::valuethat is similar tonlohmann::json), and spotify-json, which is dedicated exclusively to converting directly between JSON and C++ types.