public function theResponseContainsTheFollowingValueFromJSON(
        PyStringNode $string
    ) {
        $this->compareValues(
            $this->getGuzzleResult(),
            json_decode($this->addStoredValues($string->getRaw()), true)
        );
    }
public function theResponseContainsTheFollowingValueFromJSON(
        PyStringNode $string
    ) {
        $this->compareValues(
            $this->getGuzzleResult(),
            json_decode($this->addStoredValues($string->getRaw()), true)
        );
    }
public function theResponseContainsTheFollowingValueFromJSON ( PyStringNode $ string ) { $ this -> compareValues ( $ this -> getGuzzleResult ( ) , json_decode ( $ this -> addStoredValues ( $ string -> getRaw ( ) ) , true ) ) ; }
Check response contains specified values from JSON

Example: The the response contains the following values from JSON:
"""
{
"name": "Test Name",
"users": [
{
"id": 3
},
{
"id": 6
}
]
}
"""
Example: And the response contains the following value from JSON:
"""
{
"name": "Test Name"
}
"""

@param PyStringNode $string Values specified in feature as JSON

@Then the response contains the following value(s) from JSON:
Check response contains specified values from JSON