Template Function detail::escape
Defined in File json.hpp
Function Documentation
-
template<typename StringType>
inline StringType detail::escape(StringType s) string escaping as described in RFC 6901 (Sect. 4)
Note the order of escaping “~” to “~0” and “/” to “~1” is important.
- Parameters:
s – [in] string to escape
- Returns:
escaped string