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.
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.