Interface JsonObjectMarshaller<T>

  • Type Parameters:
    T - type of objects to marshal
    All Known Implementing Classes:
    GsonJsonObjectMarshaller, JacksonJsonObjectMarshaller

    public interface JsonObjectMarshaller<T>
    Strategy interface to marshal an object into a json representation. Implementations are required to return a valid json object.
    Since:
    4.1
    Author:
    Mahmoud Ben Hassine
    • Method Detail

      • marshal

        java.lang.String marshal​(T object)
        Marshal an object into a json representation.
        Parameters:
        object - to marshal
        Returns:
        json representation fo the object