我正在 Azure 队列中以 Json 字符串的形式插入一条消息,如下所示
[Serializable]
public class Person
{
public string FirstName { get; set; }
}
在插入队列时,我应该收到邮件。我期望邮件内容是 json 字符串,但我收到的邮件内容如下所示
@ string 3http://schemas.microsoft.com/2003/10/Serialization/� {"FirstName":"Vikram"}
现在内容中以“@ string 3http://schemas.microsoft.com/2003/10/Serialization/�”开头的额外字符串是什么以及如何删除它。
最佳答案
您可以创建一个 Azure 函数,将字符串重新格式化为 json 字符串,如下所述:http://social.technet.microsoft.com/wiki/contents/articles/34750.integrating-service-bus-stack-with-logic-apps-and-azure-functions.aspx
关于azure - 从 Azure 队列插入逻辑应用程序中包含 Json 的不需要的字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39704151/