Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Queries the value of the json.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
JSON | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
json | A JSON text or reference. | "1.3" |
Returns value or error.
Returns 5 for a numeric value:
MBS( "JSON.GetValue"; "5" )
Example result: 5
Returns text:
MBS( "JSON.GetValue"; "\"Test JSON\"" )
Example result: Test JSON
Returns 1 for boolean:
MBS( "JSON.GetValue"; "true" )
Example result: 1
Decode the escape unicode sequence:
MBS( "JSON.GetValue"; "\"\uD83C\uDF4E\"")
Example result: 🍎
This function checks for a license.
Created 3th February 2016, last changed 31st January 2023