- All Implemented Interfaces:
Jsonator<com.opensymphony.xwork2.interceptor.ValidationAware>
public class ValidationAwareJsonator
extends Object
implements Jsonator<com.opensymphony.xwork2.interceptor.ValidationAware>
-
Constructor Summary
Constructors
-
Method Summary
convert(com.opensymphony.xwork2.interceptor.ValidationAware action)
Creates a
Json
representation of a given object
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ValidationAwareJsonator
public ValidationAwareJsonator()
-
Method Details
-
convert
public Json convert(com.opensymphony.xwork2.interceptor.ValidationAware action)
Description copied from interface: Jsonator
Creates a
Json
representation of a given object
- Specified by:
convert
in interface Jsonator<com.opensymphony.xwork2.interceptor.ValidationAware>
- Parameters:
action
- the object to be serialized
- Returns:
- Json JSON representation of the given object