Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1    Statistic    FMM    Blog  

JSON.CreateString

Creates a string node with given text.

Component Version macOS Windows Linux Server iOS SDK
JSON 2.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "JSON.CreateString"; Text )   More

Parameters

Parameter Description Example
Text The text to use. "Hello World"

Result

Returns JSON code.

Description

Creates a string node with given text.
The text is escaped.

Examples

Creates new text node:

MBS( "JSON.CreateString"; "Hello World")

Example result: "Hello World"

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 11st December 2016


JSON.CreateObjectRef - JSON.CreateStringArray

Feedback: Report problem or ask question.




Links
MBS Xojo blog

Start Chat