Rose::StringUtility::jsonEscape
Escapes characters that are special inside a JSON string.
Synopsis
Declared in <src/Rose/StringUtility/Escape.h>
[[visibility]]
std::string
jsonEscape(std::string const&);
Description
Assumes that the provided string is already inside double quotes; no additional quotes are added to the return value.
Return Value
Escaped string.
Created with MrDocs