xml to json conversion using AtlasMap(使用 AtlasMap 将 xml 转换为 json)
问题描述
在探索 xml 到 json 的高效转换工具时,我发现了 AtlasMap!(https://atlasmap.io) 非常有用.AtlasMap 独立应用程序有助于制定源到目标的映射文件.它支持在 XML、JSON 和 Java 对象之间转换数据.最重要的是,我的项目严重依赖 Apache camel,它也支持骆驼组件.
While exploring the efficient conversion tool for xml to json, I find AtlasMap! (https://atlasmap.io) is a very useful. AtlasMap standalone application helps to formulate source to target mapping file. It supports transforming data to and from XML, JSON and Java objects. Most important thing, my project is heavily Apache camel depended and it supports camel component too.
虽然它对于小型有效负载工作正常,但对于大型有效负载,用于 xml 到 json 转换的性能非常差.我相信它正在使用 DOM 解析器进行 xml 处理,如果是这样,我该如何配置 STAX 或 Woodstox 解析器?或者,如果我想使用 AtlasMap,大型 xml 到 json 转换该怎么办?谢谢
Though it is working fine for small payload, it is giving very bad performance for large payload for xml to json conversion. I believe it is using DOM parser for xml processing, if so how can I configure STAX or Woodstox parser? Or what to do for large xml to json conversion if I want to use AtlasMap? Thanks
推荐答案
感谢您对 AtlasMap 的关注.不幸的是,我们还没有支持 XML/JSON 的流处理,但它肯定在桌面上.如果您可以在我们的 GitHub 存储库上提出问题并吸引其他人的投票,那么优先考虑它会有所帮助.
Thank you for your interest in AtlasMap. Unfortunately we haven't supported stream processing for XML/JSON yet, but it's definitely on the table. If you could file an issue on our GitHub repo and attracts other people's vote, it helps to be prioritized.
https://github.com/atlasmap/atlasmap
参见.https://github.com/atlasmap/atlasmap/issues/45
这篇关于使用 AtlasMap 将 xml 转换为 json的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:使用 AtlasMap 将 xml 转换为 json


- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01