GitHub
LibrariesOpen source libraries used to build this documentation site.
LibraryRoleVersionLicense
AstroastroSite framework6.3.1MIT
Astro React@astrojs/reactReact integration5.0.4MIT
Astro Sitemap@astrojs/sitemapSitemap generation3.7.2MIT
UI5 Web Components@ui5/webcomponentsUI primitives2.22.0Apache-2.0
UI5 Web Components Fiori@ui5/webcomponents-fioriFiori shell components2.22.0Apache-2.0
UI5 Web Components Icons@ui5/webcomponents-iconsIcon set2.22.0Apache-2.0
UI5 Web Components React@ui5/webcomponents-reactReact wrappers2.22.0Apache-2.0
ReactreactUI runtime19.2.6MIT
React DOMreact-domDOM renderer19.2.6MIT
ShikishikiSyntax highlighting4.0.2MIT
Docs/ORK/JSON_NODE/ORK/IF_JSON_NODE_ARRAY
Interface/ORK/IF_JSON_NODE_ARRAY
JSON Array
InterfaceJSON Array
Package
/ORK/JSON_NODE
Members
9
Description

Represents a JSON array node and provides indexed access and mutation. Supports enumeration, cloning, formatting/serialization, equality, and freezing via the base node interface.

Index handling follows ABAP internal table semantics (one-based).

Immutability contract: Any modifying operation must raise an exception if the node is frozen.

9 items
Methods
get
Method
Get node by index

Returns the node at the given one-based index. If the index is out of range, the optional fallback is returned (if provided).

Parameters

NameDescriptionindexOne-based node indexfallbackFallback node if index is out of range (optional)resultNode at index (or fallback)

Signature

METHODS get IMPORTING !index TYPE i
                        fallback TYPE REF TO /ork/if_json_node OPTIONAL
              RETURNING VALUE(result) TYPE REF TO /ork/if_json_node.
set
Method
Set node at index

Replaces the node at the given one-based index. Must raise an exception if the node is frozen.

Parameters

NameDescriptionindexOne-based node indexnodeNode to setselfThis array instance (fluent API)

Signature

METHODS set IMPORTING !index TYPE i
                        !node TYPE REF TO /ork/if_json_node
              RETURNING VALUE(self) TYPE REF TO /ork/if_json_node_array.
insert
Method
Insert node at index

Inserts the provided node at the given one-based index and shifts subsequent nodes. Must raise an exception if the node is frozen.

Parameters

NameDescriptionindexOne-based insertion indexnodeNode to insertselfThis array instance (fluent API)

Signature

METHODS insert IMPORTING !index TYPE i
                           !node TYPE REF TO /ork/if_json_node
                 RETURNING VALUE(self) TYPE REF TO /ork/if_json_node_array.
add
Method
Append node

Appends the provided node to the end of the array. Must raise an exception if the node is frozen.

Parameters

NameDescriptionnodeNode to appendselfThis array instance (fluent API)

Signature

METHODS add IMPORTING !node TYPE REF TO /ork/if_json_node
              RETURNING VALUE(self) TYPE REF TO /ork/if_json_node_array.
remove
Method
Remove node by index

Removes the node at the given one-based index. Must raise an exception if the node is frozen.

Parameters

NameDescriptionindexOne-based node indexresultabap_true if a node was removed, otherwise abap_false

Signature

METHODS remove IMPORTING !index TYPE i
                 RETURNING VALUE(result) TYPE abap_bool.
clear
Method
Clear array

Removes all nodes from the array. Must raise an exception if the node is frozen.

Signature

METHODS clear.
count
Method
Get node count

Parameters

NameDescriptionresultNumber of nodes in the array

Signature

METHODS count RETURNING VALUE(result) TYPE i.
nodes
Method
Get nodes table

Returns the internal table of nodes representing the array content. The returned table reflects the current order of the nodes.

Parameters

NameDescriptionresultTable of array nodes

Signature

METHODS nodes RETURNING VALUE(result) TYPE /ork/if_json_node=>ty-nodes.
iterator
Method
Create iterator

Returns a new iterator instance positioned before the first node.

Parameters

NameDescriptionresultNew iterator instance

Signature

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