How to handle JSON with an undefined number of key-value pairs returned from an API?

0
When I obtain JSON data through CALL REST, the key-value pairs of this JSON data are not unique. How do I need to dynamically create entities? Or other methods? 当我通过CALL REST获取到JSON数据后,这个JSON数据的键值对并不唯一,我需要如何动态的建立实体?或者其他方法?
asked
1 answers
0

Store the result in a variable, so no mapping is used.

Rewrite the json in the variable so that the attributes of the province are in the json as an array of objects and then use an appropriate import mapping to import the data into an entity that has 2 attributes to store the key and the value.

answered