Class MethodSerializer

java.lang.Object
co.ecg.alpaca.toolkit.json.MethodSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<Object>

public class MethodSerializer extends Object implements com.google.gson.JsonSerializer<Object>
GSON Method Serializer to targets Methods with the ExposeMethod Annotation.
Author:
Matthew Keathley on 8/20/15
  • Constructor Details

    • MethodSerializer

      public MethodSerializer()
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(Object src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<Object>