| 50 | |
| 51 | template<typename T> |
| 52 | T parseValueFromKey(std::string const& jsonString, std::string const& key) |
| 53 | { |
| 54 | std::stringstream stream(jsonString); |
| 55 | boost::property_tree::ptree tree; |
| 56 | boost::property_tree::read_json(stream, tree); |
| 57 | return tree.get<T>(key); |
| 58 | } |
| 59 | |
| 60 | bool parseBoolResult(std::string const& serverResponse) |
| 61 | { |
nothing calls this directly
no outgoing calls
no test coverage detected