Tinderbox v11 Icon

^backslashEncode( data )^


Export Code Type: 

Export Code Scope of Action: 

Export Code First Added: 

Export Code in Current Baseline: 

Export Code Altered Since Baseline: 

 Export Mark-up   [other codes of this type]

 n/a   [codes with similar scope]

 v3.6.0

 Baseline

 As at baseline


^backslashEncode( data )^

The ^backslashEncode^ code has been added for the convenience of exporting to JSON and JavaScript. ^backslashEncode^ prefaces single and double quotation marks with a single backslash.

The action code equivalent is jsonEncode(). For example:

^value(jsonEncode("data"))^