[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'fpjson' (#fcl)

JSONStringToString

Convert a JSON-escaped string to a string

Declaration

Source position: fpjson.pp line 600

function JSONStringToString(

  const S: TJSONStringType

):TJSONStringType;

Arguments

S

  

JSON-escaped string to convert.

Function result

Pascal string with escaped characters replaced

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

StringToJSONString

  

Convert a string to a JSON-escaped string

JSONTypeName

  

Convert a JSON type to a string


Documentation generated on: Sep 28 2017