I need to get the keys from my backend api using Rest Assured, but most of them are children of another key and have spaces in between, so don't know how to get them?
{
"success": true,
"nav": {
"Settings": "/application/settings/personal",
"Notification Preferences": "/application/settings/notifications",
"Reset Password": "/application/settings/reset-password",
"logout": "/application/logout"
}
}
It's very similar to this question here but in that case the key wasn't a child of another key. I'm trying to make something like this to work:
.body("'nav.Reset Password'", equalTo("#"))
Thanks for the help. :)