Then the JSON response should have property "propertyPath"

Verify a JSON property exists.

Step pattern

Then (?:the JSON response should have property|the API response should contain property) "([^"]*)"

Examples

Example #1
Then the JSON response should have property "id"
Example #2
Then the API response should contain property "user.email"
Example #3
Then the JSON response should have property "title"
Example #4
Then the API response should contain property "data"
Example #5
Then the JSON response should have property "user.org"
Example #6
Then the API response should contain property "meta.total"
Example #7
Then the JSON response should have property "createdAt"
Example #8
Then the API response should contain property "links.self"