From eb12c0d0bd24a5df93f9f04c11f69dc07bf62525 Mon Sep 17 00:00:00 2001 From: Musachy Barroso Date: Fri, 27 Apr 2007 02:01:53 +0000 Subject: [PATCH] WW-1897 Create JSONValidationInterceptor git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@532930 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/struts2/interceptor/validation/json-1.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 core/src/test/resources/org/apache/struts2/interceptor/validation/json-1.txt diff --git a/core/src/test/resources/org/apache/struts2/interceptor/validation/json-1.txt b/core/src/test/resources/org/apache/struts2/interceptor/validation/json-1.txt new file mode 100644 index 000000000..cb7a4ee3a --- /dev/null +++ b/core/src/test/resources/org/apache/struts2/interceptor/validation/json-1.txt @@ -0,0 +1,12 @@ +/* { + "errors": [ + "General error" + ], + "fieldErrors": { + "value": ["Min value is -1"], + "text" : [ + "Too short", + "This is no email" + ] + } +} */ \ No newline at end of file