Add Dumas JSON object iterator node
This commit is contained in:
@@ -44,6 +44,11 @@
|
||||
- Outputs: `item`, `current_index`, `total_items`
|
||||
- Returns the current array item and position, with `mode` set to `fixed`, `incr`, or `decr`.
|
||||
|
||||
- `Dumas JSON Object Iterator`
|
||||
- Inputs: `json_input`, `index`, `mode`
|
||||
- Outputs: `key`, `value`, `current_index`, `total_items`
|
||||
- Returns the current object entry in insertion order, with `mode` set to `fixed`, `incr`, or `decr`.
|
||||
|
||||
All nodes live in the `Dumas/JSON` category.
|
||||
|
||||
## Installation
|
||||
@@ -90,6 +95,8 @@ incr -> use index + 1
|
||||
decr -> use index - 1
|
||||
```
|
||||
|
||||
`Dumas JSON Object Iterator` uses the same index rules and iterates object entries in their existing key order.
|
||||
|
||||
## 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.
|
||||
|
||||
Reference in New Issue
Block a user