Xojo Documentation
Xojo Documentation
Doc Center
Home
Download Xojo
Recent changes
MediaWiki Info
Getting Started
Get Started with Xojo
QuickStarts
Tutorials
Books
User Guide
Welcome!
Fundamentals
User Interface
Framework
Technical Information
Language Reference
Programming Language Commands
Framework
iOS Framework
Resources
System Requirements
Release Notes
Deprecations
Videos
Example Projects
FAQ
International
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