#include "JSONSerialization.h" namespace pt = boost::property_tree; void serialize(std::ostream & os, const std::string & str) { os << '"' << str << '"'; } void deserialize(const pt::ptree & tree, std::string & stringVal) { stringVal = tree.get_value(); }