- All Implemented Interfaces:
Jsonator<Message>
A Jsonator for i18n Message objects.
It returns the i18ned string, if found and the message key otherwise.
-
Constructor Summary
Constructors
-
Method Summary
Creates a
Json
representation of a given object
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
convert
Description copied from interface: Jsonator
Creates a
Json
representation of a given object
- Specified by:
convert
in interface Jsonator<Message>
- Parameters:
m
- the object to be serialized
- Returns:
- Json JSON representation of the given object