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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
JSON.DeleteItemFromObject
Deletes item from an object.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| JSON | 2.7 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| json | A JSON text or reference. | {"key": "value"} |
| name | The name of the item. | "key" |
Result
Returns JSON code.
Description
Deletes item from an object.Returns the JSON reference number if called with reference number. Otherwise returns new JSON text.
Examples
Add and delete item:
Set Variable [$json; Value:MBS( "JSON.Parse"; "{\"Hello\": \"World\"}" )]
Set Variable [$r; Value:MBS( "JSON.AddBooleanToObject"; $json; "test"; 1)]
Show Custom Dialog [$json; MBS("JSON.Format"; $json)]
Set Variable [$r; Value:MBS( "JSON.DeleteItemFromObject"; $json; "test")]
Show Custom Dialog [$json; MBS("JSON.Format"; $json)]
Set Variable [$r; Value:MBS( "JSON.Release"; $json)]
See also
Example Databases
Blog Entries
FileMaker Magazin
Created 18th August 2014, last changed 15th November 2019
JSON.DeleteItemFromArray - JSON.EqualContent
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins