GetElementByName method (NotesJSONNavigator – LotusScript)

Retrieves a NotesJSONElement by name.

Defined in

NotesJSONNavigator

Syntax

Set el = jsnav.GetElementByName(name)

Parameters

name

String. The name of the element to retrieve.

Return value

Returns NotesJSONElement that matches the name parameter.

Example

Dim jsnav As NotesJSONNavigator 
Set jsnav = session.CreateJSONNavigator(|{"test":"A string"}|) 
Set el = jsnav.GetElementByName("test")