JSON Array Group By
Group JSON records by a JSON Pointer field and keep typed group keys, counts and original records.
Start with your input
Edit the example or replace it with your own text.
Choose your options
These settings are optional. Keep the defaults to get started.
How to use JSON Array Group By
- Paste the example or your own input.
- Choose the options that match your task.
- Run the tool, review the result, then copy or download it.
When to use JSON Array Group By
Group API records by a department, status, customer identifier or another nested field without writing a script. Enter a JSON Pointer such as /team or /address/country. The result is an array of groups, each containing the original field value, a count and the matching records in their original order. This makes the result convenient for inspecting distribution and feeding follow-up processing.
How to interpret the result
Group keys must be scalar JSON values: strings, numbers, booleans or null. Missing paths and object or array keys are rejected to prevent ambiguous categories. The string 1 and the number 1 are separate groups because their types matter. JSON Pointer uses ~1 for a literal slash and ~0 for a tilde inside property names. This groups records only; it does not calculate sums or rewrite their contents.
Example input
[{"team":"Design","name":"Ada"},{"team":"Engineering","name":"Grace"},{"team":"Design","name":"Linus"}]What should I check before using the output?
Group keys must be scalar JSON values: strings, numbers, booleans or null.
Is input uploaded?
Processing takes place in your browser. This tool does not send your input or selected files to a conversion API.