Class ClassSerializer

java.lang.Object
org.spincast.plugins.gson.serializers.ClassSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<Class<?>>

public class ClassSerializer extends Object implements com.google.gson.JsonSerializer<Class<?>>
  • Constructor Details

    • ClassSerializer

      public ClassSerializer()
  • Method Details

    • serialize

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