Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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