Class ValidationErrorJsonator
- java.lang.Object
-
- com.atlassian.confluence.json.jsonator.ValidationErrorJsonator
-
- All Implemented Interfaces:
Jsonator<ValidationError>
public class ValidationErrorJsonator extends Object implements Jsonator<ValidationError>
-
-
Constructor Summary
Constructors Constructor Description ValidationErrorJsonator(I18NBeanFactory i18NBeanFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Json
convert(ValidationError validationError)
Creates aJson
representation of a given object
-
-
-
Constructor Detail
-
ValidationErrorJsonator
public ValidationErrorJsonator(I18NBeanFactory i18NBeanFactory)
-
-
Method Detail
-
convert
public Json convert(ValidationError validationError)
Description copied from interface:Jsonator
Creates aJson
representation of a given object- Specified by:
convert
in interfaceJsonator<ValidationError>
- Parameters:
validationError
- the object to be serialized- Returns:
- Json JSON representation of the given object
-
-