GetNextElement method (NotesJSONArray - LotusScript)

Returns the next JSON element in an array.

Defined in

NotesJSONArray

Syntax

Set el = jsarray.GetNextElement()

Parameters

None

Return value

Returns the next NotesJSONElement in an array.

Example

The following code displays a message box with the value 2.
Set jsnav = s.CreateJSONNavigator(|{"numbers:" : [1,2,3,4,5]}|)
Set el = jsnav.GetFirstElement()
Set arr = el.value
Set el = arr.GetFirstElement()
Set el = arr.GetNextElement()
MsgBox "Next element: " & CStr(el.Value)