Merge pull request #3480 from bmitch/JsonErrorMsg

Error message for JSON validation
This commit is contained in:
Taylor Otwell
2015-08-16 12:17:00 -05:00

View File

@@ -41,6 +41,7 @@ return [
'in' => 'The selected :attribute is invalid.',
'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.',
'json' => 'The :attribute must be a valid JSON string.',
'max' => [
'numeric' => 'The :attribute may not be greater than :max.',
'file' => 'The :attribute may not be greater than :max kilobytes.',