> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Parse from YAML

> Converts a YAML string into a data object.

Converts a YAML string into a data object. Use this when a value arrives as YAML wrapped up in a single piece of text, such as a configuration block or a document pulled from a file or API field. It reads the text and turns it back into structured data, so the keys, values, and lists inside become regular fields you can read and map.

This documentation describes: [Schema](/schemas/mapper/deserialize-yaml)

## Fields

This mapper has no settings to configure. Point it at the YAML text you want to parse and it does the rest.

## Sample data

| Field | Value |
| - | - |
| (no settings) | |

Input:

```json theme={null}
{
    "payload": "sku: A1\nname: Wool scarf\nprice: 19.99\ninStock: true"
}
```

Output:

```json theme={null}
{
    "payload": {
        "sku": "A1",
        "name": "Wool scarf",
        "price": 19.99,
        "inStock": true
    }
}
```

```json Configuration theme={null}
{
  "prototype": "deserialize-yaml",
  "parameters": {}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.