Skip to main content

WriteJson@1

The WriteJson@1 node is used to write data to the pipeline.

Adapter Prerequisites

  • General availability: All adapters support this node type.

Node Configuration

For fields path, targetPath, targetValueWriteMode, and targetValueKind, see Overview.

transformations:
- type: WriteJson@1
jsonString: "{\"batteryPower\": 0, \"productionPower\": 0, \"additionalProductionPower\": 0, \"batteryStateOfCharge\": 0, \"consumption\": 0, \"net\": 0, \"outsideTemperature\": 0}" # JSON string that should be written to the payload
targetPath: $.meters # Path where the data should be stored in the payload