For Each Property
The For Each Property action loops through all properties (name/value pairs) of a JSON object. In each iteration, the appropriate property is marked as a named JSON.
The For Each Property action does not work on global variable.
Properties
The For Each Property action can be configured using the following properties:
- Name
-
Has two options, Auto or Named.Auto gives the item a name which is number. The first Auto-numbered item will have number 1, the next number 2 etc. Note that the number may change if additional Auto-numbered items are inserted before this step (on the same page).Named gives the item a fixed and explicitly stated name, which has several advantages:
- It is easier to remember what the named item identifies if it has a well-chosen name
- An explicitly named item is not affected if another named item is inserted before it
- If you use the same name again in Set Named JSON, the name will simply be made to refer to the new item (useful for stateful in-page looping)
- Keep Existing Named Items
-
If checked, the existing named items will be kept, otherwise these will be unmarked as named items and only the found item will be a named item after this step.