|
|
std::string | serialize (const rapidjson::Document &doc) |
| |
|
std::string | serialize (const boost::property_tree::ptree &node) |
| |
|
void | deserialize (const std::string &json, boost::property_tree::ptree &root) |
| |
|
template<class T, typename std::enable_if< std::is_same< T, std::string >::value, T >::type * = nullptr> |
| boost::optional< T > | reconcile (const boost::optional< T > &val1, const boost::optional< T > &val2, boost::optional< bool > resolve_defined, boost::optional< bool > resolve_true, boost::optional< bool > resolve_max, const std::string &err_msg="") |
| |
|
template<class T, typename std::enable_if< std::is_same< T, std::string >::value, T >::type * = nullptr> |
| boost::optional< T > | reconcile (const boost::optional< T > &val1, const boost::optional< T > &val2, const std::string &err_msg="") |
| |
|
template<class T> |
| std::vector< T > | reconcile (const std::vector< T > &v1, const std::vector< T > &v2, const std::string &err_msg="") |
| |
Collection of generic utilities.