Go to the source code of this file.
◆ AppendEscapeJsonString()
| StringType & AppendEscapeJsonString |
( |
StringType & |
AppendTo, |
|
|
const FString & |
StringVal |
|
) |
| |
|
inline |
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)
- Parameters
-
| AppendTo | the string to append to. |
| StringVal | the string to escape |
- Returns
- the AppendTo string for convenience.
◆ EscapeJsonString()
| FString EscapeJsonString |
( |
const FString & |
StringVal | ) |
|
|
inline |
Takes an input string and escapes it so it can be written as a valid Json string. Also adds the quotes.
- Parameters
-
| StringVal | the string to escape |
- Returns
- the given string, escaped to produce a valid Json string.
◆ HasDestinationJsonStringCharRepresentation()
| bool HasDestinationJsonStringCharRepresentation |
( |
SrcChar |
Char | ) |
|
Takes an input source char representing and returns if it is possible to represent in DstChar expected encoding
- Parameters
-
- Returns
- false if character is a control char or if it is out of range of representation in case of converting to ANSICHAR. true otherwise