[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Convert a string to a JSON-escaped string
Source position: fpjson.pp line 599
function StringToJSONString( |
const S: TJSONStringType; |
Strict: Boolean = False |
S |
|
String to convert to JSON string. |
properly escaped JSON string
StringToJSONString examines the string S and replaces any special characters by an escaped string, as in the JSON specification. The following characters are escaped:
\ / " #8 #9 #10 #12 #13.
|
Convert a JSON-escaped string to a string |
|
|
Convert a JSON type to a string |