Class SoundListSerializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<SoundList>

    public class SoundListSerializer
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<SoundList>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SoundList deserialize​(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)  
      private Sound getSound​(com.google.gson.JsonObject p_188734_1_)  
      private java.util.List<Sound> getSounds​(com.google.gson.JsonObject p_188733_1_)  
      private Sound.Type getType​(com.google.gson.JsonObject p_188732_1_, Sound.Type p_188732_2_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SoundListSerializer

        public SoundListSerializer()
    • Method Detail

      • deserialize

        public SoundList deserialize​(com.google.gson.JsonElement p_deserialize_1_,
                                     java.lang.reflect.Type p_deserialize_2_,
                                     com.google.gson.JsonDeserializationContext p_deserialize_3_)
                              throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<SoundList>
        Throws:
        com.google.gson.JsonParseException
      • getSounds

        private java.util.List<Sound> getSounds​(com.google.gson.JsonObject p_188733_1_)
      • getSound

        private Sound getSound​(com.google.gson.JsonObject p_188734_1_)
      • getType

        private Sound.Type getType​(com.google.gson.JsonObject p_188732_1_,
                                   Sound.Type p_188732_2_)