Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

JSON.ReleaseAll

Releases all JSON objects.

Component Version macOS Windows Linux Server iOS SDK
JSON 6.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "JSON.ReleaseAll" )

Parameters

none

Result

Returns OK or error.

Description

Releases all JSON objects.
After this call all reference numbers are invalid.
This is useful if you start a script which creates dozens of JSON reference numbers and you don't want to keep track of those IDs.
Be aware that on a server this may free objects, which are used by other scripts running in parallel!

Examples

Release all JSON objects:

Set Variable [$r; Value:MBS( "JSON.ReleaseAll")]

See also

Blog Entries

This function is free to use.

Created 11st January 2016, last changed 9th January 2020


JSON.Release - JSON.Replace

💬 Ask a question or report a problem