I'm calling Azure function and I'm building the request body using dynamic content.
This is how I build it:
{
"test": "Test1",
"data": "@{activity('Upload SKU').output}"
}
I have problem with the "data" node. @{activity('Upload SKU').output is a json string.
So the dynamic content creates "mess". It doesn't escape it.
It creates this:
{
"test": "Test1",
"data": "{"a": "1"}"
}
How to escape @{activity('Upload SKU').output so that {"a": "1"} creates {\"a\": \"1\"} so that it can be treated as a string and not as a node under "data".
This is what I want to achieve:
{
"test": "Test1",
"data": "{\"a\": \"1\"}"
}