JSONStringToString¶
Convert a JSON-escaped string to a string.
Declaration¶
Source position: fpjson.pp line 803
function JSONStringToString(const S: TJSONStringType) : TJSONStringType;
function JSONStringToString(const S: UnicodeString) : TJSONStringType;
Description¶
JSONStringToString examines the string S and replaces any special characters by an escaped string, as in the JSON specification. The following escaped characters are recognized:
\\ \" \/ \b \t \n \f \r \u000X
See also¶
| Name | Description |
|---|---|
| StringToJSONString | Convert a string to a JSON-escaped string. |
| JSONTypeName | Convert a JSON type to a string. |