GetNextElement method (NotesJSONNavigator – LotusScript)

Retrieves the next element in a JSON string.

Defined in

NotesJSONNavigator

Syntax

Set el = jsnav.GetNextElement ()

Parameters

None

Return value

Returns NotesJSONElement that corresponds to the next element in the JSON string.

Example

The following code returns an element with the name "element2" and a value of "Another string".
Dim jsnav As NotesJSONNavigator 

Set jsnav = s.CreateJSONNavigator( 
|{ "element1" : "A string", "element2" : "Another string" }|) 

Set el = jsnav.GetFirstElement() 

Set el = jsnav.GetNextElement()