Method

JSONItem.Name


Warning

This item was deprecated in version 2019r2. Please use JSONItem.ValueAt as a replacement.

Description

Returns the Name of a named child by index. Array items will return an empty string. Index is zero-based.

Sample code

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"

Var s2 As String
s2 = person.Name(1) ' returns "Age"

Compatibility

All project types on all supported operating systems.