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.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0    Statistic  


Queries type of json object.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
JSON 2.7 Yes Yes Yes Yes Yes
MBS( "JSON.GetType"; json )   More


Parameter Description Example value
json A JSON text or reference. "[1,2,3]"


Returns type: false, true, null, string, array, object or number.


Queries type of json object.


Creates array and queries type:

MBS("JSON.GetType"; MBS( "JSON.CreateDoubleArray"; 1; 2; 3))

Example result: array

Query type of value:

MBS( "JSON.GetType"; 123 )

Example result: number

Query type of value:

MBS( "JSON.GetType"; "[]" )

Example result: array

See also

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

JSON.GetStringValue   -   JSON.GetValue

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins