Returns data from the current JSON response using
JSONPath as selector.
JsonPath is XPath equivalent for querying Json structures. Try your JsonPath expressions
online.
Even for a single value an array is returned.
This method **require
flow/jsonpath > 0.2 library to be installed**.
Example:
php
user.id in json
$firstUserId = $I->grabDataFromResponseByJsonPath('$..users[0].id');
$I->sendPUT('/user', array('id' => $firstUserId[0], 'name' => 'davert'));
?>