# From MessagePack

Converts MessagePack encoded data to JSON. MessagePack is a computer data interchange format. It is a binary form for representing simple data structures like arrays and associative arrays. From MessagePack lives in the **Data format** category of the `fx` menu. See [MessagePack](https://msgpack.org/) for format details.

## Parameter

| Parameter | Type   | Required | Default | Description                                            |
| --------- | ------ | -------- | ------- | ------------------------------------------------------ |
| Input     | string | yes      | —       | Value to transform. Previous step output or a literal. |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type   | Description                                    |
| ------ | ---------------------------------------------- |
| `JSON` | Result of the From MessagePack transformation. |

## Limitations

- This operation treats Input as raw bytes (binary-capable). Non-text payloads may display differently after decoding.
- Invalid or mismatched encoding for the chosen options typically raises an evaluation error — fix the Input or options before re-running.

## Example

<details>
<summary>Decode MessagePack to JSON</summary>

Convert MessagePack encoded data back to JSON.

1. Set **Input** to MessagePack bytes from a previous step (for example the output of **To MessagePack**).

2. Confirm **Output value** is the JSON document.

</details>
