Xojo Documentation
Xojo Documentation
Home
Getting Started
Get Started with Xojo
QuickStarts
Tutorials
Pi Programming
More Guides
Resources
In-Depth Guides
User Guide
Language Reference
Resources
Release Notes
System Requirements
Deprecations
Videos
Feedback
About
Usage
Copyrights and Trademarks
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
JSONItem.Remove
From Xojo Documentation
Method
JSONItem
.Remove
(Name As
String
)
New in 2011r2
Supported for all project types and targets.
Removes the child with the passed Name.
Examples
This example removes a value using its name:
Var
person
As
New
JSONItem
// This object is manipulated like a dictionary
person
.
Value(
"Name"
) =
"John Doe"
person
.
Value(
"Age"
) =
32
person
.
Value(
"Married"
) =
True
person
.
Value(
"Spouse"
) =
"Jane Doe"
person
.
Remove(
"Age"
)
Categories
:
New2011r2
Methods