Ask questionscan i convert a json string to escaped string using rapidjson?
i have a json string:
I need this string:
Answer questions miloyip
I think it should be simply:
StringBuffer sb; Writer<StringBuffer> writer(sb); // edited writer.String(string_to_be_escaped); const char* escaped = sb.GetString();