JSON to JSON transformation (preferably inside Apache Camel)

好久不见. 提交于 2021-02-08 03:00:35

问题


I have somewhat unique requirement, which I could not find an answer to so far. I need a JSON to JSON transformation. Preferably, if I could plug it into Apache Camel, that would be wonderful.

As a side note, I would also welcome any suggestion to optimally store the JSON to JSON mapping. Is there any XSLT-based way of achieving this?

Thanks! Mario


回答1:


ZORBA with jsonIQ : http://www.jsoniq.org/ it's a native library, but with high performance. You have examples in the web page.




回答2:


There is a simple design here: https://rawgithub.com/chunqishi/edu.brandeis.cs.json2json/master/docs/design-2014-04-09.html

May be you can improve it by source code, https://github.com/chunqishi/edu.brandeis.cs.json2json.



来源:https://stackoverflow.com/questions/10087519/json-to-json-transformation-preferably-inside-apache-camel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!