Navigation
API > API/Runtime > API/Runtime/Json > API/Runtime/Json/Serialization
References
| Module | Json |
| Header | /Engine/Source/Runtime/Json/Public/Serialization/JsonWriter.h |
| Include | #include "Serialization/JsonWriter.h" |
template<typename StringType>
StringType & AppendEscapeJsonString
(
StringType & AppendTo,
const FString & StringVal
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| AppendTo | the string to append to. |
| StringVal | the string to escape |