jsonEncode(data)

Tinderbox Icon


Operator Type:   Function
Operator Scope of Action:   Item
Operator Purpose:   Formatting

jsonEncode(data)

This operator (added in v5.7.0) returns a JSON-encoded UTF-8 version of the data string. The apostrophe (straight single quote), straight double quote, solidus (forward slash) and backslash characters are all escaped by a preceding backslash character.

For string-type data, see also the '.json' operator.


Possible relevant notes (via "Similar Notes" feature):

Up: Formatting operators

A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Types : Formatting operators : jsonEncode(data)

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox