Class DateSerializer

java.lang.Object
org.spincast.plugins.gson.serializers.DateSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<Date>

public class DateSerializer extends Object implements com.google.gson.JsonSerializer<Date>
  • Constructor Details

    • DateSerializer

      public DateSerializer()
  • Method Details

    • serialize

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