如何在Java中断言和比较两个org.json.simple.jsonarray对象

时间:2018-10-09 13:13:57

标签: arrays

实际上我有如下提到的org.json.simple.JSONArray:

[{\“ attributeName \”:\“ key1 \”,\“ attributeValue \”:\“ val1 \”},{\“ attributeName \”:\“ key2 \”,\“ attributeValue \”:\ “ val2 \”},{\“ attributeName \”:\“ key3 \”,\“ attributeValue \”:\“ val3 \”}]

我想断言并与Java中的实际json数组进行比较。

请让我知道我们如何通过任何实用程序或任何简单方法来实现这一目标。

0 个答案:

没有答案