Module |
|
Header |
/Engine/Source/Runtime/Json/Public/Serialization/JsonWriter.h |
Include |
#include "Serialization/JsonWriter.h" |
template<typename StringType>
StringType & AppendEscapeJsonString
(
StringType & AppendTo,
const FString & StringVal
)
Takes an input string and escapes it so it can be written as a valid Json string. Also adds the quotes. Appends to a given string-like object to avoid reallocations. String-like object must support operator+=(const TCHAR*) and operation+=(TCHAR)
the AppendTo string for convenience.
Parameter |
Description |
---|---|
AppendTo |
the string to append to. |
StringVal |
the string to escape |