Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

This page is DEPRECATED, please refer to the new source http://struts.apache.org/plugins/json/

 

Table of Contents

The JSON plugin

Excerpt

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:

...