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 Summary
-
Method Details
-
marshal
Marshal an object into a json representation.- Parameters:
object
- to marshal- Returns:
- json representation fo the object
-