Provider.ProviderSerializer

public static class ProviderSerializer implements JsonSerializer<Provider>

Implementation of the JsonSerializer interface for the Provider class. It represents the provider as its ID.

Methods

serialize

public JsonElement serialize(Provider provider, Type type, JsonSerializationContext jsonSerializationContext)