From 33272b3d8b83eaafdf4a2e593a6eb701862798f8 Mon Sep 17 00:00:00 2001 From: Bill Mitchell Date: Sun, 16 Aug 2015 16:34:28 +0100 Subject: [PATCH] Error message for JSON validation --- resources/lang/en/validation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index a48ac724..c7a1ecf0 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -41,6 +41,7 @@ '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.',