[ https://issues.apache.org/jira/browse/WW-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16205156#comment-16205156 ]
Hudson commented on WW-4034: ---------------------------- SUCCESS: Integrated in Jenkins build Struts-site #115 (See [https://builds.apache.org/job/Struts-site/115/]) WW-4034 Adds docs for how customizing JSONWriter (yasser.zamani: rev 5c04ef4da92981c4887dff4f0adde42750d50051) * (edit) source/plugins/json/index.md WW-4034 Adds full product name to JSONWriter docs (yasser.zamani: rev fc10adff914a14416f2ccba118a7faf754c941e8) * (edit) source/plugins/json/index.md > Allow to use custom JSONwriter > ------------------------------ > > Key: WW-4034 > URL: https://issues.apache.org/jira/browse/WW-4034 > Project: Struts 2 > Issue Type: Improvement > Components: Plugin - JSON > Reporter: Emir Buğra KÖKSALAN > Priority: Minor > Labels: JSON > Fix For: 2.5.14 > > > Throws when accessing to a private inner class in that method: > private void map(Map map, Method method) throws JSONException > May be pass when trying to access a private class. example source code should > be: > {code:java} > private void map(Map map, Method method) throws JSONException { > this.add("{"); > ... > while (it.hasNext()) { > Map.Entry entry = (Map.Entry) it.next(); > Object key = entry.getKey(); > String expr = null; > if (this.buildExpr) { > try { > if (key == null) { > LOG.error("Cannot build expression for null key in " + > this.exprStack); > continue; > } else { > expr = this.expandExpr(key.toString()); > if (this.shouldExcludeProperty(expr)) { > continue; > } > expr = this.setExprStack(expr); > } > } > catch (Exception ex) { > LOG.error("Error: " + ex.getLocalizedMessage()); > continue; > } > } > if (hasData) { > this.add(','); > } > ... > this.add("}"); > } > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)