mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-08-14 09:53:37 +00:00
format
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
---
|
||||
title: Decode JSON
|
||||
sidebar:
|
||||
label: Decode
|
||||
order: 2
|
||||
label: Decode
|
||||
order: 2
|
||||
---
|
||||
|
||||
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.
|
||||
|
||||
- **type**: `json.decode`
|
||||
|
||||
### Example
|
||||
|
||||
```yaml
|
||||
- type: json.decode
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user