使用azure逻辑应用程序进行JSON转换。 [英] JSON transformations using azure logic apps.

查看:88
本文介绍了使用azure逻辑应用程序进行JSON转换。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我是azure逻辑应用程序的新手,所以请原谅任何明显的事情。


我有一种情况我在哪里使用一些Dynamics 365操作连接器并以JSON格式获取原始输出。我的意图是将其转换为xml文件。我不能直接使用xml函数,因为有几个ODATA标签不允许在逻辑应用程序中使用xml()。



<为了解决这个问题,我决定将JSON转换为JSON,因此使用parse json动作创建一些友好的令牌。到目前为止一切顺利:)



现在我不知道如何使用解析的JSON令牌创建JSON文件。 



任何帮助或建议都将受到高度赞赏。



谢谢,


Nik

解决方案

您可以使用撰写操作来创建自定义json与您之前步骤的输入如下所示:




Hi,

I'm new to azure logic apps so please excuse anything obvious.

I have a situation where am using some Dynamics 365 for operations connectors and getting the raw output in a JSON format. My intension is to convert this into xml file. I cannot directly use xml function since there are couple of ODATA tags which does not allow to use xml() in logic apps.

To handle this i decided to transform JSON to JSON and therefore used parse json action to create some friendly tokens. So far so good:)

Now i donot have a good knowledge on how to create a JSON file using the parsed JSON tokens. 

Any help or suggestion would be highly appreciated.

Thanks,

Nik

解决方案

You can use Compose Action to create your custom json with the inputs from your previous steps as shown below:


这篇关于使用azure逻辑应用程序进行JSON转换。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆