在Anypoint Studio中使用Dataweave将Excel转换为JSON [英] Converting Excel to JSON using Dataweave in anypoint studio

查看:117
本文介绍了在Anypoint Studio中使用Dataweave将Excel转换为JSON的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要在Anypoint Studio中使用Dataweave将Excel转换为JSON.

Need to transform Excel to JSON using Dataweave in Anypoint Studio.

Mule Datamapper支持直接将Excel文件转换为JSON,而在DataWeave中则不支持将Excel文件转换为JSON.

Mule Datamapper supports converting Excel files to JSON directly,where as in DataWeave it won't support Excel to JSON conversion.

在一个博客中,我发现使用POI库可以做到这一点,但这是一项复杂的工作.

In a blog i found that using POI libraries we can do this but it is a bit complex work.

还有其他替代方法吗?

推荐答案

Excel(XLSX文件)支持

Excel (XLSX files) support for DataWeave (the data transformation processor) has been released with the new Anypoint Studio 6.1.2 version w/3.8.2 Runtime.

请在此处查看如何使用它: Excel格式在DataWeave中

Please see how to use it here: Excel format in DataWeave

以及以下发行说明:
https ://docs.mulesoft.com/release-notes/anypoint-studio-6.1-with-3.8.2-runtime-update-site-2-release-notes

And the release notes below:
https://docs.mulesoft.com/release-notes/anypoint-studio-6.1-with-3.8.2-runtime-update-site-2-release-notes

这篇关于在Anypoint Studio中使用Dataweave将Excel转换为JSON的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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