Class GrantSerializer

  • All Implemented Interfaces:
    com.google.gson.JsonSerializer<Grant>

    public class GrantSerializer
    extends BaseJsonSerializer
    implements com.google.gson.JsonSerializer<Grant>
    JSON serializer for Grant.
    Since:
    3.1
    • Constructor Detail

      • GrantSerializer

        public GrantSerializer()
    • Method Detail

      • serialize

        public com.google.gson.JsonElement serialize​(Grant grant,
                                                     Type type,
                                                     com.google.gson.JsonSerializationContext context)
        Specified by:
        serialize in interface com.google.gson.JsonSerializer<Grant>