Class KeybindComponentSerializer

    • Constructor Detail

      • KeybindComponentSerializer

        public KeybindComponentSerializer()
    • Method Detail

      • deserialize

        public KeybindComponent 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<KeybindComponent>
        Throws:
        com.google.gson.JsonParseException
      • serialize

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