如何在 azure 函数中传递 json 个对象

How to pass json objects in azure function

我有一个 Azure 逻辑应用程序,我正在通过它读取一个 XML 文件(输入),方法是解析为 json 并获取所有 XML 标签(具有相应的值)作为json 个对象。

此外,我必须通过 Azure 函数进行一些计算,因此如何将逻辑应用程序(已创建以读取 XML 数据)连接到 Azure 函数并传递 json 对象(我通过解析 Azure 函数(在 C# 中)中的 XML) 进入我的逻辑应用程序。

根据我的研究,我们可以call Azure function inside Azure Logic app or call Azure logic app inside Azure Function. But please note that if you want to call Azure function inside Azure logic app, the function just can be HTTP trigger. For more details about how to call function inside logic app, please refer to the blog and official document