Observation.ObservationSerializer

public static class ObservationSerializer implements JsonSerializer<Observation>

Implementation of the JsonSerializer interface for the Observation class.

Methods

serialize

public JsonElement serialize(Observation observation, Type typeOfSrc, JsonSerializationContext context)