MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / unescape

Function unescape

include/behaviortree_cpp/contrib/json.hpp:3005–3009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3003 */
3004template<typename StringType>
3005static void unescape(StringType& s)
3006{
3007 replace_substring(s, StringType{"~1"}, StringType{"/"});
3008 replace_substring(s, StringType{"~0"}, StringType{"~"});
3009}
3010
3011} // namespace detail
3012NLOHMANN_JSON_NAMESPACE_END

Callers 1

splitFunction · 0.85

Calls 1

replace_substringFunction · 0.85

Tested by

no test coverage detected