node-red-contrib-flatter

Node-RED nodes to flatten and unflatten complex JSON objects


Keywords
node-red, flatter, flat, json, flatten, unflatten, split, object, nested
License
ISC
Install
npm install node-red-contrib-flatter@1.1.5

Documentation

node-red-contrib-flatter

A Node-RED module for flattening complex JSON objects and reconstructing them

Build Status

This node uses the NPM package 'flat' to flatten a nested Javascript object in msg.payload, or unflatten an object with delimited keys.

To install & uninstall

$ cd ~/.node-red  
$ npm install /PATH/node-red-contrib-flatter  
$ npm uninstall node-red-contrib-flatter
$ node-red

Unit Testing

$ npm install --save-dev node-red-node-test-helper mocha node-red  
$ npm test