BlogGitHub
Reference/ORK/JSON_NODE/ORK/IF_JSON_NODE_ITERATOR
Interface/ORK/IF_JSON_NODE_ITERATOR
JSON Node Iterator
Package
/ORK/JSON_NODE
Interfaces
/ORK/IF_JSON_NODE_ENUMERABLE, /ORK/IF_JSON_NODE_ENUMERATOR
Members
1
Description

Combines enumerable and enumerator behavior for JSON nodes. The instance acts both as a collection and as its own iterator.

Provides:

  • Forward iteration via move_next
  • Access to the current node via current
  • Resetting the iteration state via reset
  • Creation of a new reset iterator via iterator

Conceptually equivalent to a combined IEnumerable and IEnumerator pattern.

1 item
Methods
iterator
MethodPublic
Create new reset iterator

Returns a new iterator instance positioned at the beginning of the underlying JSON Node sequence.

Parameters

NameDescriptionresult

return result New iterator instance

Signature

METHODS iterator RETURNING VALUE(result) TYPE REF TO /ork/if_json_node_iterator.
Repository11 packages · 113 objects
124 items