Patient.PatientSerializer

public static class PatientSerializer implements JsonSerializer<Patient>

Implementation of the JsonSerializer interface for the Patient. It represents the patient as its ID.

Methods

serialize

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