Class DocumentationLinkJsonator
- java.lang.Object
-
- com.atlassian.confluence.json.jsonator.DocumentationLinkJsonator
-
- All Implemented Interfaces:
Jsonator<DocumentationLink>
public class DocumentationLinkJsonator extends Object implements Jsonator<DocumentationLink>
A Jsonator for DocumentationLink objects.It returns the i18ned string, if found and the key otherwise.
-
-
Constructor Summary
Constructors Constructor Description DocumentationLinkJsonator(DocumentationBean documentationBean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Json
convert(DocumentationLink m)
Creates aJson
representation of a given object
-
-
-
Constructor Detail
-
DocumentationLinkJsonator
public DocumentationLinkJsonator(DocumentationBean documentationBean)
-
-
Method Detail
-
convert
public Json convert(DocumentationLink m)
Description copied from interface:Jsonator
Creates aJson
representation of a given object- Specified by:
convert
in interfaceJsonator<DocumentationLink>
- Parameters:
m
- the object to be serialized- Returns:
- Json JSON representation of the given object
-
-