Package edu.university.ecs.lab.common.models.serialization
package edu.university.ecs.lab.common.models.serialization
Provides utilities and classes for serializing Java objects to JSON and deserializing JSON
back to Java objects using Gson library.
This package includes:
- JsonSerializable
: Interface for classes
that can be serialized to JSON objects.
- MethodCallDeserializer
: Deserializer
for converting JSON to MethodCall
and
RestCall
objects.
- MethodDeserializer
: Deserializer for
converting JSON to Method
and
Endpoint
objects.
These classes facilitate conversion between Java objects and JSON representations.
-
ClassDescriptionInterface for classes that can be serialized to JSON objectClass for deserializing a MethodCall when using GsonClass for deserializing a Method when using Gson