MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / unescape

Function unescape

extern/json/json.hpp:2992–2996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2990 */
2991template<typename StringType>
2992static void unescape(StringType& s)
2993{
2994 replace_substring(s, StringType{"~1"}, StringType{"/"});
2995 replace_substring(s, StringType{"~0"}, StringType{"~"});
2996}
2997
2998} // namespace detail
2999NLOHMANN_JSON_NAMESPACE_END

Callers 1

splitFunction · 0.85

Calls 1

replace_substringFunction · 0.85

Tested by

no test coverage detected