Class YearMonthDeserializer

java.lang.Object
io.goodforgod.gson.configuration.deserializer.YearMonthDeserializer
All Implemented Interfaces:
com.google.gson.JsonDeserializer<YearMonth>

public class YearMonthDeserializer extends Object implements com.google.gson.JsonDeserializer<YearMonth>
Since:
06.11.2021
See Also:
  • Field Details

  • Constructor Details

    • YearMonthDeserializer

      public YearMonthDeserializer()
    • YearMonthDeserializer

      public YearMonthDeserializer(DateTimeFormatter formatter)
  • Method Details

    • deserialize

      public YearMonth deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<YearMonth>
      Throws:
      com.google.gson.JsonParseException