Sending Alert body as JSON

Issue Summary

I want to send whatever I right in alert body as JSON.
Right now - the webhook destination receives body as string
I want Redash not to convert json to string , but send
description:{“manager”:“Redash”} --> JSON

Can Someone help here?

Out of curiosity: what’s the difference between sending a string with JSON versus sending JSON in the request body? Either one should be consumable by the webhook.

Here’s the code you need:

Notice on line 47 the data is serialized.