GoogleCloudPlatform / node-red-contrib-google-cloud

Node-RED nodes for Google Cloud Platform
Apache License 2.0
90 stars 57 forks source link

Perform decoding for JSON based data in PubSub in #9

Closed kolban-google closed 5 years ago

kolban-google commented 5 years ago

It is not uncommon for the payload of a PubSub message to be a JSON string. Today, we always pass that data on as a Buffer and leave it to the downstream nodes to decode to JSON if needed. This issue asks for an option to decode the payload from a JSON string to an object representation. The selection of whether or not to parse the data will be made as a user configurable option.

kolban-google commented 5 years ago

Coding is complete for this request and has been pushed to the branch called dev. The issue will be left open until publication.