Class ZoneIdAdapter


  • public class ZoneIdAdapter
    extends com.google.gson.TypeAdapter<ZoneId>
    • Constructor Detail

      • ZoneIdAdapter

        public ZoneIdAdapter()
    • Method Detail

      • write

        public void write​(com.google.gson.stream.JsonWriter jsonWriter,
                          ZoneId zoneId)
                   throws IOException
        Specified by:
        write in class com.google.gson.TypeAdapter<ZoneId>
        Throws:
        IOException
      • read

        public ZoneId read​(com.google.gson.stream.JsonReader jsonReader)
                    throws IOException
        Specified by:
        read in class com.google.gson.TypeAdapter<ZoneId>
        Throws:
        IOException