TheClimateCorporation / squeedo

clojure core.async based amazon SQS message processing
Apache License 2.0
62 stars 28 forks source link

enqueue double escapes json from Cheshire #51

Closed funston closed 4 years ago

funston commented 4 years ago

Not sure this is even Squeedo, there are so many parts here. But basically, when sending a json encoded string to the SQS queue, it's showing up with all the json values escape with \", ie {\"foo\":\"bar\"}

Generally, this is not an issue, but when python does a json.dumps and pushes the same message it shows up as {"foo":"bar"}

it's further complicated by aws Lamdba functions double escaping the value for some reason.

either way, I wonder if there is something in Squeedo that isn't specifying the format or another way to send it to not escape the json?