autana-jsonata-transform 2.0.2

A JSONata message transformation node for Node-RED

npm install autana-jsonata-transform

Use the power of JSONata to easily transform Node-RED messages.

Installation:

npm install autana-jsonata-transform

Usage:

Just enter the template as a valid JSONata expression and enjoy the transformation.

This node can receive the template from:

  • static: template field value from node configuration
  • dynamic: from msg.template

Template example:

{
    "topic": topic & "_ceil",
    "payload": $ceil(payload)
}

Output:

By default the transformation result is saved in msg.payload. But you can decide the field, and inclusive use flow or global context instead.

Node Info

Version: 2.0.2
Updated 1 year ago
License: ISC
Rating: not yet rated

Actions

Rate:

Downloads

16 in the last week

Nodes

  • com.autana.jsonata

Keywords

  • node-red
  • autana
  • transform
  • JSONata

Maintainers

Contributors

  • temior
  • Gilbert Gonzalez