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.Child
From Xojo Documentation
Method
JSONItem
.Child
(Name As
String
)
As
JSONItem
New in 2011r2
Supported for all project types and targets.
Returns a child with the passed name.
Method
JSONItem
.Child
(Name As
String
,
Assigns
obj As
JSONItem
)
New in 2011r2
Supported for all project types and targets.
Sets a named child to a
JSONItem
.
Examples
Var
myChild
As
New
JSONItem
myChild
.
Value(
"Name"
) =
"Fred"
myChild
.
Value(
"Age"
) =
12
myChild
.
Value(
"Married"
) =
False
myChild
.
ChildAt(
2
) = person
Categories
:
New2011r2
Methods