Skip to end of metadata
Go to start of metadata

Name

JSON Plugin

Publisher

Apache Struts

License

Open Source (ASL2)

Compatibility

Struts 2.1.6 or later

Homepage

http://cwiki.apache.org/confluence/display/WW/JSON+Plugin

Rating?

Icon

The JSON plugin is bundled with Struts since 2.1.7+. The plugin at Google Code has been deprecated.

Overview

The JSON plugin provides a "json" result type that serializes actions into JSON. The serialization process is recursive, meaning that the whole object graph, starting on the action class (base class not included) will be serialized (root object can be customized using the "root" attribute). If the interceptor is used, the action will be populated from the JSON content in the request, these are the rules of the interceptor:

Labels
  • No labels