JSon_StrUnEscape

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > String functions >

JSon_StrUnEscape

 

Description

 

Transform a string expression escaping special JSon chars.

 

Syntax

 

s = JSon_StrUnEscape(JSonString)

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

JsonString

String

No

A JSon string to check and escape special JSon chars, UTF8 included

 

Remarks

 

Characters that are escaped/unescaped in JSON strings

 

Character

Escape in JSON

Description

"

\"

Double quote

\

\\

Backslash

/

\/ (optional)

Forward slash (optional)

\b

\\b

Backspace

\f

\\f

Form feed

\n

\\n

New line

\r

\\r

Carriage return

\t

\\t

Tab

 

Restrictions

 

See also

 

String Handling,

 

Examples