GetElementByPointer method (NotesJSONNavigator – LotusScript)

Retrieves a NotesJSONElement using JSON Pointer syntax to identify the element.

Defined in

NotesJSONNavigator

Syntax

Set el = jsnav.GetElementByPointer(pointer)

Parameters

pointer

String.

A JSON Pointer string that identifies the desired element.

Return value

Returns NotesJSONElement that corresponds to the JSON pointer.

Example

The following code returns an element with name test and value "A string".
Dim jsnav As NotesJSONNavigator 
Set jsnav = session.CreateJSONNavigator(|{"test":"A string"}|) 
Set el = jsnav.GetElementByPointer("/test")