How to Use JSONata for Real-Time Data Transformation in Qubitro
This guide explains how to use JSONata expressions in Qubitro Transformation Functions to manipulate and structure real-time data before it is stored or used for automated actions.
JSONata provides a flexible, lightweight way to filter, calculate, and restructure data without writing traditional code.
A few things to remember:
Data can be modified on-the-fly before storage and automation.
TF applies immediately to incoming data, whether raw or already decoded.
How Transformation Functions Work in Qubitro
Once a device sends data, TF automatically applies the JSONata expression configured by the user.
If a Decoder Function exists, it will process raw data first, and then TF will apply JSONata expressions on the decoded output. If there is no decoder, TF will apply transformations directly to the published data.