Class LocalDateTimeSerializer

java.lang.Object
dev.plex.util.adapter.LocalDateTimeSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<LocalDateTime>

public class LocalDateTimeSerializer extends Object implements com.google.gson.JsonSerializer<LocalDateTime>
  • Constructor Details

    • LocalDateTimeSerializer

      public LocalDateTimeSerializer()
  • Method Details

    • serialize

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