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

All Known Implementing Classes:
DefaultJsonator, I18nJsonator, PageJsonator, 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-2009 Atlassian Pty Ltd. All Rights Reserved.