| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
JSON.Release
Frees a json reference number.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| JSON | 6.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "JSON.Release"; JSONRef ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| JSONRef | The JSON reference number. | $json |
Result
Returns OK or error.
Description
Frees a json reference number.Such reference numbers are returned by JSON.Parse, JSON.CreateArrayRef, JSON.CreateObjectRef, JSON.GetArrayItem, JSON.GetObjectItem, JSON.GetObjectItemTreeRef or JSON.SetVariables.
Examples
Parse some JSON, display it formatted and release:
Set Variable [$json; Value:MBS( "JSON.Parse"; "{\"Hello\": \"World\"}" )]
Show Custom Dialog [$json; MBS("JSON.Format"; $json)]
Set Variable [$r; Value:MBS( "JSON.Release"; $json)]
Show Custom Dialog [$json; MBS("JSON.Format"; $json)]
Set Variable [$r; Value:MBS( "JSON.Release"; $json)]
See also
- Java.Release
- JS.Release
- JSON.GetArraySize
- JSON.GetObjectItem
- JSON.GetObjectItemTree
- JSON.GetPathItem
- JSON.ReleaseAll
- JSON.Replace
- MapView.Snapshot
- SSH.Release
Example Databases
- CURL/Email/IMAP Email List
- CURL/Email/IMAP Email
- CURL/WebServices/Query IP and Country
- JSON/JSON Benchmark
- Mac and iOS/Machine Learning/Core Image Detection
- Mac and iOS/MapKit/MapKit Snapshots
- Mac only/ImageCapture/Camera Import
- Win Only/WindowsML
Blog Entries
- FileMaker and MongoDB
- With JSON in excellent form
- Fun with While function in FileMaker
- Face detection via CoreImage in FileMaker
- MBS FileMaker Plugin, version 6.0pr6
FileMaker Magazin
This function is free to use.
Created 5th January 2016, last changed 12nd August 2025