public class AttachmentJsonator extends Object implements Jsonator<Attachment>
Constructor and Description |
---|
AttachmentJsonator(ContextPathHolder context,
ThumbnailManager thumbnailManager) |
Modifier and Type | Method and Description |
---|---|
Json |
convert(Attachment attachment)
Creates a
Json representation of a given object |
public AttachmentJsonator(ContextPathHolder context, ThumbnailManager thumbnailManager)
public Json convert(Attachment attachment)
Jsonator
Json
representation of a given objectconvert
in interface Jsonator<Attachment>
attachment
- the object to be serializedCopyright © 2003–2016 Atlassian. All rights reserved.