JSONItem.ChildAt

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

JSONItem.ChildAt(Index As Integer) As JSONItem

New in 2019r2

Supported for all project types and targets.

Returns a child with the passed index. Index is zero-based.


Method

JSONItem.ChildAt(Index As Integer, Assigns obj As JSONItem)

New in 2019r2

Supported for all project types and targets.

Sets a child to a JSONItem by index. Index is zero-based.

Examples

Var myChild As New JSONItem
myChild.ChildAt(2) = person