Interface Jsonator<T>

All Known Implementing Classes:
AttachmentJsonator, BreadcrumbJsonator, ContentMetadataJsonator, DefaultJsonator, DocumentationLinkJsonator, 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

    Modifier and Type
    Method
    Description
    convert(T object)
    Creates a Json representation of a given object
  • Method Details

    • 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