Class ContentMetadataJsonator
java.lang.Object
com.atlassian.confluence.json.jsonator.ContentMetadataJsonator
- All Implemented Interfaces:
Jsonator<ContentEntityObject>
-
Constructor Summary
ConstructorsConstructorDescriptionContentMetadataJsonator
(I18NBeanFactory i18NBeanFactory, DateFormatterFactory dateFormatterFactory) -
Method Summary
Modifier and TypeMethodDescriptionconvert
(ContentEntityObject content) Creates aJson
representation of a given object
-
Constructor Details
-
ContentMetadataJsonator
public ContentMetadataJsonator(I18NBeanFactory i18NBeanFactory, DateFormatterFactory dateFormatterFactory)
-
-
Method Details
-
convert
Description copied from interface:Jsonator
Creates aJson
representation of a given object- Specified by:
convert
in interfaceJsonator<ContentEntityObject>
- Parameters:
content
- the object to be serialized- Returns:
- Json JSON representation of the given object
-