VisitType.VisitTypeSerializer

public static class VisitTypeSerializer implements JsonSerializer<VisitType>

Implementation of the JsonSerializer interface for the VisitType class. It represents the visit type as its ID.

Methods

serialize

public JsonElement serialize(VisitType src, Type typeOfSrc, JsonSerializationContext context)