---
name: "Catmandu::Fix::array"
section: "3pm"
platform: "linux"
package: "libcatmandu-perl"
version: "1.2024-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Fix::array"
---

# Catmandu::Fix::array(3pm)

creates an array out of a hash

## NAME

Catmandu::Fix::array - creates an array out of a hash

## SYNOPSIS

```
   # tags => {name => 'Peter', age => 12}
   array(tags)
   # tags => ['name', 'Peter', 'age', 12]
```

## DESCRIPTION

This fix functions transforms hash fields to array. String fields and array fields are left unchanged.

## SEE ALSO

Catmandu::Fix::hash, Catmandu::Fix
