0

I have product data from our internal system that has a particular JSON schema. I have to transform/map it into another json schema format so that this new data can be pushed to another system. I am aware of manually going through each data and creating new data. Is there any library that takes data that belongs to one JSON schema and based on mapping/rule supplied to it converts into another format?

4

1 回答 1

0

这个库可以提供帮助:https ://github.com/ScriptFUSION/Mapper

Mapper 使用对象组合 DSL 将数组从一种格式转换为另一种格式。应用程序通常从结构不同的外部源接收数据。我们可以使用 Mapper 使用 Mapping 将外部数据转换为更适合我们应用程序的格式,如下例所示。

于 2021-08-12T12:42:48.200 回答