Add Dumas JSON array iterator node

This commit is contained in:
2026-07-21 10:51:20 +00:00
parent 3b918fd36f
commit 6994cb64c5
3 changed files with 91 additions and 0 deletions

View File

@@ -39,6 +39,11 @@
- Output: `INT`
- Returns the length of a JSON array.
- `Dumas JSON Array Iterator`
- Inputs: `json_input`, `index`, `mode`
- Outputs: `item`, `current_index`, `total_items`
- Returns the current array item and position, with `mode` set to `fixed`, `incr`, or `decr`.
All nodes live in the `Dumas/JSON` category.
## Installation
@@ -77,6 +82,14 @@ settings.render.width
{"enabled": true, "retries": 3}
```
`Dumas JSON Array Iterator` clamps to valid bounds:
```text
fixed -> use index as-is
incr -> use index + 1
decr -> use index - 1
```
## Roadmap
This repo is intended to grow into a broader set of Dumas-branded generic utility nodes, including JSON helpers and adjacent data-manipulation tools.