com.atlassian.confluence.json.jsonator
Interface Jsonator<T>

All Known Implementing Classes:
AttachmentJsonator, BreadcrumbJsonator, ContentMetadataJsonator, DefaultJsonator, EntityJsonator, GsonJsonator, I18nJsonator, SearchResultJsonator, ValidationAwareJsonator, ValidationErrorJsonator

public interface Jsonator<T>

Interface to implement if you want to provide a method to create a JSON representation of an object


Method Summary
 Json convert(T object)
          Creates a Json representation of a given object
 

Method Detail

convert

Json convert(T object)
Creates a Json representation of a given object

Parameters:
object - the object to be serialized
Returns:
Json JSON representation of the given object


Copyright © 2003-2013 Atlassian. All Rights Reserved.