| 48 | #endif |
| 49 | |
| 50 | web::json::value toWebJSON(const std::string& s) { |
| 51 | return web::json::value::string(utility::conversions::to_string_t(s)); |
| 52 | } |
| 53 | // This just participates in overload resolution, otherwise it's ambiguous since Json::Value and std::string are constructible from char * |
| 54 | web::json::value toWebJSON(const char* s) { |
| 55 | return web::json::value::string(utility::conversions::to_string_t(s)); |
no outgoing calls
no test coverage detected