Data grouping and result arrays

How to group elements by key and collect nested arrays.

JSON and XML editors support duplicate elements, grouping by key, and nested arrays.

Data grouping and result arrays — Eofferix
Eofferix interface screenshot: Data grouping and result arrays

When to use

Use grouping when you need to collect products with variants, sections, or aggregated structures from source lines.

Setting procedure

  1. Define a source list that repeats.
  2. Select a grouping key field, such as product SKU or external code.
  3. Set up the result structure: a common object and a nested list of clauses or properties.
  4. Check which fields are taken from the group representative and which from the members.
  5. Run previews on multiple groups.

What to check

  • The grouping key is stable and not empty.
  • The nested array contains all the required elements.
  • Random different products are not combined into one group.

Notes

  • Grouping increases processing complexity and can affect costs.
  • For a simple CSV without nesting, grouping is usually not needed.