4 void rsvsjson::flatupdate(rsvsjson::json &jfin, rsvsjson::json &jnew,
bool isFlatFin,
bool isFlatNew)
11 jnew = jnew.flatten();
15 jfin = jfin.flatten();
23 jnew = jnew.unflatten();
25 catch (std::exception
const &ex)
27 std::cerr << jnew.dump(2) << std::endl;
28 std::cerr << ex.what() << std::endl;
33 jfin = jfin.unflatten();
35 catch (std::exception
const &ex)
37 std::cerr << jfin.dump(2) << std::endl;
38 std::cerr << ex.what() << std::endl;
Interface between the RSVS project and the JSON for Modern C++ library.
Provides the error and warning system used by the RSVS3D project.
#define RSVS3D_ERROR(M)
Throw generic rsvs errors.