| 73 | |
| 74 | template<> |
| 75 | std::string Read<std::string>(const Json::Value& node, const std::string& defaultValue) |
| 76 | { |
| 77 | if (node.isString()) |
| 78 | return node.asString(); |
| 79 | |
| 80 | return defaultValue; |
| 81 | } |
| 82 | |
| 83 | template<> |
| 84 | int Read<int>(const Json::Value& node, const int& defaultValue) |
nothing calls this directly
no outgoing calls
no test coverage detected