Class BodyMessageJsonSerializer
java.lang.Object
com.example.common.json.serializer.BaseJsonSerializer<BodyMessage>
com.example.common.json.bodymessage.BodyMessageJsonSerializer
- All Implemented Interfaces:
JsonSerializer<BodyMessage>
public class BodyMessageJsonSerializer
extends BaseJsonSerializer<BodyMessage>
implements JsonSerializer<BodyMessage>
This class is a custom JSON serializer for the BodyMessage class.
It extends the BaseJsonSerializer class and implements the JsonSerializer interface.
It is used to serialize BodyMessage objects into JSON format.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the BodyMessageJsonSerializer class. -
Method Summary
Methods inherited from class com.example.common.json.serializer.BaseJsonSerializer
deserialize, serialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.example.common.json.serializer.JsonSerializer
deserialize, serialize
-
Constructor Details
-
BodyMessageJsonSerializer
public BodyMessageJsonSerializer()Constructor for the BodyMessageJsonSerializer class. It initializes the serializer for the BodyMessage class.
-