Then the API response should contain json:

Checks that API response body contains JSON from PyString.

Step pattern

Then (?:the )?API response should contain json:

Examples

Example #1
Then the API response should contain json:
"""
{
"name": "John Doe",
"email": "john@example.com"
}
"""
Example #2
Then API response should contain json:
"""
{
"org": "Webship.co",
"active": true
}
"""
Example #3
Then the API response should contain json:
"""
{
"id": 1,
"title": "Hello"
}
"""
Example #4
Then API response should contain json:
"""
{
"email": "hello@un.org"
}
"""