Files
showbridge-docs/src/content/docs/processors/json/encode.mdx
T
2026-08-19 10:12:58 -05:00

19 lines
413 B
Plaintext

---
title: Encode JSON
sidebar:
label: Encode
order: 1
---
import SchemaInfo from '../../../../components/SchemaInfo.astro';
This processor will encode an incoming object into a JSON byte array. This processor will return an error if the message being processed is not able to be serialized as JSON.
<SchemaInfo type="processor" id="json.encode"/>
### Example
```yaml
- id: encode
type: json.encode
```