Class ServiceDependencyGraph.RestCallEdgeSerializer
java.lang.Object
edu.university.ecs.lab.common.models.sdg.ServiceDependencyGraph.RestCallEdgeSerializer
- All Implemented Interfaces:
com.google.gson.JsonSerializer<RestCallEdge>
- Enclosing class:
- ServiceDependencyGraph
public class ServiceDependencyGraph.RestCallEdgeSerializer
extends Object
implements com.google.gson.JsonSerializer<RestCallEdge>
Class to serialize a rest call as a json object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
serialize
(RestCallEdge edge, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
Constructor Details
-
RestCallEdgeSerializer
public RestCallEdgeSerializer()
-
-
Method Details
-
serialize
public com.google.gson.JsonElement serialize(RestCallEdge edge, Type typeOfSrc, com.google.gson.JsonSerializationContext context) - Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<RestCallEdge>
-