1. Split a numeric array into batches
DeveloperBackground
A developer needs to divide a short JSON array into groups of two for a batch-oriented workflow.
Problem
Manually partitioning the values can introduce inconsistent group sizes.
How to use
Enter [1,2,3,4,5] as the input, select Chunk, and set Arguments JSON to [2].
Input JSON: [1,2,3,4,5]; Lodash Method: chunk; Arguments JSON: [2]Outcome
The JSON output is [[1,2],[3,4],[5]].