JSONItem.HasName

From Xojo Documentation

Method

JSONItem.HasName(Name as String) As Boolean

New in 2011r2

Supported for all project types and targets.

Returns True if the named child exists.

Example

The following example calls HasName to check if the passed aName exists.

If myUncle.HasName("Name") Then
MessageBox("myUncle.Name has a name")
End If