NAME

Catmandu::Fix::flatten - flatten a nested array field

SYNOPSIS

# {deep => [1, [2, 3], 4, [5, [6, 7]]]}
flatten(deep)
# {deep => [1, 2, 3, 4, 5, 6, 7]}

SEE ALSO

Catmandu::Fix