JsonRule.php Interfaces, Classes and Traits JsonRule Validates that the value provided for the specified field is a valid JSON object. May be provided as a string or actual JSON object -- both are valid and evaluate to true.