{
"body": {
"format": "json",
"query": {
"attributes": [
{
"field": "name",
"order": "none",
"hidden": false,
"label": "Computer"
}
],
"types": [],
"detail": true,
"filter": {},
"size": 5,
"types_group": "test",
"context": "newtest"
},
"bookmark": {
"guid": null,
"processed_time": 1570570800000
}
},
"description": "test new",
"display_name": "test1",
"type": "profile",
"read": "all",
"write": "all"
}
как я могу перебрать этот JSON объект и проверить каждое значение ключа в платформе RestAssured.
Я хочу сравнить что-то подобное для каждого ключа в этом JSON:
AssertTrue(get("display_name").matches("test1"))