MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / unescape

Function unescape

Source/external/json.hpp:2989–2993  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

splitFunction · 0.85

Calls 1

replace_substringFunction · 0.85

Tested by

no test coverage detected