mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-08-08 15:13:38 +00:00
18 lines
448 B
Plaintext
18 lines
448 B
Plaintext
---
|
|
title: Decode JSON
|
|
sidebar:
|
|
label: Decode
|
|
order: 2
|
|
---
|
|
import SchemaInfo from '../../../../components/SchemaInfo.astro';
|
|
|
|
Convert an incoming byte array or raw string into a JSON object. This processor will return an error if the message being processed is not an array of bytes or a raw string, or if the bytes/string cannot be parsed as JSON.
|
|
|
|
<SchemaInfo type="processor" id="json.decode"/>
|
|
|
|
### Example
|
|
|
|
```yaml
|
|
- type: json.decode
|
|
```
|