Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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. Text encoding is UTF-8 since JSON is always UTF-8.
Examples
Creates new text node:
MBS( "JSON.CreateString"; "Hello World")
Example result: "Hello World"
See also
- CURL.Perform
- CURL.SetOptionPost
- JS.CallFunction
- JSON.AddStringToArray
- JSON.AddValueToArray
- JSON.AddValueToObject
- JSON.CreateStringArray
- JSON.CreateStringArrayWithList
- JSON.FindValueInObjectArray
Example Databases
Blog Entries
- New in MBS FileMaker Plugin 13.3
- Recursive Folder Copy Script
- CRC function in FileMaker using JavaScript
- Comparing Base Elements Plugin to MBS FileMaker Plugin
- Using CURL with Rosette web service
This function is free to use.
Created 18th August 2014, last changed 7th June 2024