MongoDB 是否提供转换为其他(JSON)格式的工具?
任务很简单。我们将开发一个中间层,它将从某处读取 JSON feed 并将其按原样缓存在 MongoDB 上。然后,它将以不同的 JSON 格式提供该数据。
我想知道 MongoDB 是否具有内置功能来进行转换本身。如果没有,中层将不得不这样做。
那么,有什么好的工具可以完成这项工作吗? Spring Batch 可以做到这一点,但可能有点矫枉过正。此外,此时,数据将即时转换,除非这会导致速度显着减慢。
提前致谢。
The task is simple. We will develop a mid-tier layer that will read a JSON feed from somewhere and cache it on MongoDB as is. It will then service this data in a different JSON format.
I'm wondering if MongoDB has built in capabilities to make the transformation itself. If not, the mid-tier will have to do it.
In that case, are there any good tools for the job? Spring Batch can do it but it might be overkill. Also, at this point, the data will be transformed on the fly, unless this causes significant slowdowns.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不 - Mongodb 只是一个数据存储。进去的就是出来的。如果您只是想重组数据,那么这在您的应用程序代码中应该是相当简单的。
Nope - Mongodb is just a data store. What goes in is what comes out. If youre just looking to restructure the data, that should be fairly trivial in your app code.