MCPcopy Create free account
hub / github.com/PeterFWS/Structure-PLP-SLAM / unescape

Function unescape

3rd/json/include/nlohmann/json.hpp:9209–9213  ·  view source on GitHub ↗

unescape "~1" to tilde and "~0" to slash (order is important!)

Source from the content-addressed store, hash-verified

9207
9208 /// unescape "~1" to tilde and "~0" to slash (order is important!)
9209 static void unescape(std::string& s)
9210 {
9211 replace_substring(s, "~1", "/");
9212 replace_substring(s, "~0", "~");
9213 }
9214
9215 /*!
9216 @param[in] reference_string the reference string to the current value

Callers 1

splitFunction · 0.85

Calls 1

replace_substringFunction · 0.85

Tested by

no test coverage detected