PHPUnit_Framework_Constraint_IsJson::matches

Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.