Class ContentMetadataJsonator
- java.lang.Object
-
- com.atlassian.confluence.json.jsonator.ContentMetadataJsonator
-
- All Implemented Interfaces:
Jsonator<ContentEntityObject>
public class ContentMetadataJsonator extends Object implements Jsonator<ContentEntityObject>
-
-
Constructor Summary
Constructors Constructor Description ContentMetadataJsonator(I18NBeanFactory i18NBeanFactory, DateFormatterFactory dateFormatterFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Jsonconvert(ContentEntityObject content)Creates aJsonrepresentation of a given object
-
-
-
Constructor Detail
-
ContentMetadataJsonator
public ContentMetadataJsonator(I18NBeanFactory i18NBeanFactory, DateFormatterFactory dateFormatterFactory)
-
-
Method Detail
-
convert
public Json convert(ContentEntityObject content)
Description copied from interface:JsonatorCreates aJsonrepresentation of a given object- Specified by:
convertin interfaceJsonator<ContentEntityObject>- Parameters:
content- the object to be serialized- Returns:
- Json JSON representation of the given object
-
-