Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  

JSON.CreateValue

Creates a new value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
JSON 9.0 Yes Yes Yes Yes Yes
MBS( "JSON.CreateValue"; Value )   More

Parameters

Parameter Description Example value
Value The value to pass.
Can be number, date, time, timestamp or text.
"Hello"

Result

Returns JSON or error.

Description

Creates a new value.
Convenience function to either create text or number depending on FileMaker data type.

Examples

Create with number:

MBS( "JSON.CreateValue"; 123 )

Example result: 123

Create with string:

MBS( "JSON.CreateValue"; "Hello" & ¶ & "World" & char(9) & "test" )

Example result: "Hello\rWorld\ttest"

See also

Blog Entries

Created 14th December 2018, last changed 14th December 2018


JSON.CreateTrue   -   JSON.DeleteItemFromArray

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins