JSONIteratorMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to JSONIteratorMBS class.

JSONIteratorMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method JavaScript Object Notation MBS Util Plugin 23.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The private constructor.

JSONIteratorMBS.Iterator as Iterator

Type Topic Plugin Version macOS Windows Linux iOS Targets
method JavaScript Object Notation MBS Util Plugin 23.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Queries the iterator object.
Example
Dim o As New JSONMBS

o.add 1
o.add 2
o.add 3

For Each v As JSONMBS In o.Iterate
Break
// watch in debugger
Next

Returns self and is used internally by Xojo for the for each loops.
Part of the Iterable interface and needed for for-each loops.

JSONIteratorMBS.MoveNext as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method JavaScript Object Notation MBS Util Plugin 23.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Moves to next object for iterator.

Returns true on success and false in case of an error like end of iterator.
Part of the Iterator interface and needed for for-each loops.

JSONIteratorMBS.Value as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
method JavaScript Object Notation MBS Util Plugin 23.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Current value for the iterator.

For an iterator over objects, this is a JSONMBS object.
For an iterator over entries, this is a JSONEntryMBS object.
For an iterator over values, this is a variant with the value.

Part of the Iterator interface and needed for for-each loops.

The items on this page are in the following plugins: MBS Util Plugin.


💬 Ask a question or report a problem