Skip to content

Given a JavaScript object, when this node is executed it will transform the object key/value properties to an array of object properties with specified property names..

License

Notifications You must be signed in to change notification settings

tmobile/node-red-contrib-object-to-array

Repository files navigation

Object to Array

Given an object input, when this node is executed it will transform its properties to an array of objects with specified key/value properties to the succeeding connected node(s).

Install

cd ~/.node-red
npm install --save node-red-contrib-object-to-array

Usage

Drag and Drop the "Object to Array" onto the canvas. Set the Input value to the source object and the output value to the destination property. Optionally, you can change the key and value labels to override the defaults.

Example

The example transforms an example object into an array then stops. To see it in action, import it into your Node-RED project.

Example of Object to Array

About

Given a JavaScript object, when this node is executed it will transform the object key/value properties to an array of object properties with specified property names..

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •