[struts-site] branch master updated (73e43d0 -> 3ff9cd2)

2017-10-15 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git.


from 73e43d0  Merge pull request #28 from bahamuto/patch-2
 add 5c04ef4  WW-4034 Adds docs for how customizing JSONWriter
 add fc10adf  WW-4034 Adds full product name to JSONWriter docs
 new 3ff9cd2  Merge pull request #29 from yasserzamani/WW-4034

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 source/plugins/json/index.md | 13 +
 1 file changed, 13 insertions(+)

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" '].


[struts-site] 01/01: Merge pull request #29 from yasserzamani/WW-4034

2017-10-15 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 3ff9cd2db760ca58e878ccdef99f6eb7ea6250b4
Merge: 73e43d0 fc10adf
Author: Lukasz Lenart 
AuthorDate: Sun Oct 15 17:17:45 2017 +0200

Merge pull request #29 from yasserzamani/WW-4034

WW-4034 Adds docs for how customizing JSONWriter

 source/plugins/json/index.md | 13 +
 1 file changed, 13 insertions(+)

-- 
To stop receiving notification emails like this one, please contact
"commits@struts.apache.org" .


[struts-site] branch asf-site updated: Updates production by Jenkins

2017-10-15 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new e8f8b20  Updates production by Jenkins
e8f8b20 is described below

commit e8f8b20a1be1a7de6a3e862d7d93eaadd693b1ea
Author: jenkins 
AuthorDate: Sun Oct 15 15:18:22 2017 +

Updates production by Jenkins
---
 content/plugins/json/index.html | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/content/plugins/json/index.html b/content/plugins/json/index.html
index 1a4ff60..0ea9c27 100644
--- a/content/plugins/json/index.html
+++ b/content/plugins/json/index.html
@@ -148,6 +148,7 @@
   JSONP
   Content 
Type
   Encoding
+  Customizing the output
 
   
   Example
@@ -570,6 +571,19 @@ given result add encoding param as below:
 
 
 
+Customizing the output
+
+Since Struts 2.5.14, you can implement the org.apache.struts2.json.JSONWriter interface 
to customize the generated json response.
+The implementation should then be defined in struts.xml like:
+
+
+
+
+
+
+
+
 Example
 
 Setup Action

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" '].