19 T
from_json(
const std::string& s,
bool debug =
false) {
20 std::istringstream in{s};
21 return from_json<T>(in, debug);
25 void to_json(T& obj, std::ostream& out,
bool debug =
false) {
27 do_pup(pupper, obj, debug);
31 std::string
to_json(T& obj,
bool debug =
false) {
32 std::ostringstream out;
33 to_json(obj, out, debug);
T from_json(const std::string &s, bool debug=false)
JsonReader(std::istream &in)
JsonWriter(std::ostream &stream)
T from_json(std::istream &in, bool debug=false)
std::string to_json(T &obj, bool debug=false)
void to_json(T &obj, std::ostream &out, bool debug=false)