Skip to content

Should incoming messages automatically be JSON parsed? #29

Description

@ReidWilliams

nomad.publish() will attempt to JSON.stingify an object message that is passed to it. Right now a message passed to a subscription callback is just the plain string that comes over the wire.

I think nomad should parse this into an object if it was published as an object. Is there a way to distinguish a plain string from a JSON stringified object?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions