类 SelectorComponentSerializer

    • 构造器详细资料

      • SelectorComponentSerializer

        public SelectorComponentSerializer()
    • 方法详细资料

      • deserialize

        public SelectorComponent deserialize​(com.google.gson.JsonElement element,
                                             java.lang.reflect.Type type,
                                             com.google.gson.JsonDeserializationContext context)
                                      throws com.google.gson.JsonParseException
        指定者:
        deserialize 在接口中 com.google.gson.JsonDeserializer<SelectorComponent>
        抛出:
        com.google.gson.JsonParseException
      • serialize

        public com.google.gson.JsonElement serialize​(SelectorComponent component,
                                                     java.lang.reflect.Type type,
                                                     com.google.gson.JsonSerializationContext context)
        指定者:
        serialize 在接口中 com.google.gson.JsonSerializer<SelectorComponent>