GetElementByName method (NotesJSONNavigator – LotusScript)
Retrieves a NotesJSONElement by name.
Defined in
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.
If the JSONElement is not found, the following error is thrown: 4843 - JSON Element not
found
.
Example
Dim jsnav As NotesJSONNavigator
Set jsnav = session.CreateJSONNavigator(|{"test":"A string"}|)
Set el = jsnav.GetElementByName("test")