forked from nats-io/nats.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To wrap the grunt work involved in encoding and decoding JSON message…
…s a new attribute has been added to the client options named json. Unit tests have also been provided. Addressed review comments: nats-io#1 - Validate message payload when JSON switch is turned on before publishing nats-io#2 - Defaults to utf8 or encoding type set by the user
- Loading branch information
Showing
2 changed files
with
89 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters