Skip to content

Commit 2ddeae9

Browse files
committed
Merge pull request laravel#3480 from bmitch/JsonErrorMsg
Error message for JSON validation
2 parents f047f80 + 33272b3 commit 2ddeae9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/lang/en/validation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
'in' => 'The selected :attribute is invalid.',
4242
'integer' => 'The :attribute must be an integer.',
4343
'ip' => 'The :attribute must be a valid IP address.',
44+
'json' => 'The :attribute must be a valid JSON string.',
4445
'max' => [
4546
'numeric' => 'The :attribute may not be greater than :max.',
4647
'file' => 'The :attribute may not be greater than :max kilobytes.',

0 commit comments

Comments
 (0)