dusterio / laravel-plain-sqs

Custom SQS connector for Laravel (or Lumen) that supports third-party, plain JSON messages
MIT License
131 stars 93 forks source link

Ability to handle invalid JSON #18

Open chrispappas opened 6 years ago

chrispappas commented 6 years ago

It would be very useful to be able to validate the incoming JSON and if not valid, to handle gracefully. There doesn't appear to be any way to do so out of the box?

NIkita-Kim commented 5 years ago

@chrispappas , did you find a solution? I've the same problem, if i put simple string (not JSON) in SQS, then in $data i'm getting null

josevavia commented 4 years ago

Any updates on this?. I am working with a third party service that uses both json and simple string messages and I cannot get this package working with simple string messages.