Skip to content
1 min read · 69 words

Variable: jsonTransformTool

ts
const jsonTransformTool: Tool<SpooledArtifact>;

Apply a pipeline of operations to a JSON array or object.

Remarks

Operations are applied in order; each step transforms the output of the previous. Supported operations: filter, sort, select_keys, pluck, slice, unique, unique_by, group_by, flatten, reverse, count, sum, avg, median, min, max, first, last, chunk, frequency_count, top_n, map_template. Dot-notation paths are supported for nested key access in every operation that takes a key field.