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: 8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3    Statistic  


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


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


Returns JSON or error.


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


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.

MBS Xojo blog