Change, JSONata, or Function: Choosing a Node-RED Message Transformation Node
Choose Change for simple property moves, JSONata for read-only transforms, and Function only for complex logic in Node-RED flows.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Choose Change for simple property moves, JSONata for read-only transforms, and Function only for complex logic in Node-RED flows.
A practical function-node pattern for Node-RED that validates MQTT payloads defensively, normalizes output, reports health via node status, and persists state across restarts — plus the event-loop limits you need to respect.