This version is out of date, covering development from v9.5.0 to v9.7.3. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

String.json()

This pages describes features, codes or syntax whose use is now DEPRECATED, i.e. not advised either for new or continued pre-existing use.

Deprecated aspects of Tinderbox may be supported on a legacy basis but the latter support can not be presumed to be indefinite. Therefore you should update your active TBX documents to latest practice as soon as practical.


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Last Altered: 

 Function  [other Function type actions]

 Item  [operators of similar scope]

 Formatting  [other Formatting operators]

 Baseline

 v9.1.0


Syntax note: Operators without any defined mandatory arguments may omit their empty closing parentheses




IMPORTANT: if looking for reading JSON see JSON.json[] and associated operators




LEGACY ONLY

Operator Deprecated in v9.1.0+ - use String.jsonEncode() instead

String.json()

String.json

This operator returns a JSON-encoded UTF-8 version of a string attribute's value. The apostrophe (straight single quote), straight double quote, solidus (forward slash) and backslash characters are all escaped by a preceding backslash character.

Now, use jsonEncode().