Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide feature to decode "body" field of received message #3

Open
kuy opened this issue Jul 28, 2020 · 0 comments
Open

Provide feature to decode "body" field of received message #3

kuy opened this issue Jul 28, 2020 · 0 comments

Comments

@kuy
Copy link
Collaborator

kuy commented Jul 28, 2020

{
  "Records": [
    {
      "body": "{\"type\": \"dispatch\", \"nested\": { \"id\": \"u123\", \"role\": \"admin\"  }}"
    }
  ]
}

Handle body field as JSON and decode it automatically. For a plain text or binary message, we also need provide option to handle it correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant