io.getunleash.repository.JsonToggleCollectionDeserializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unleash-client-java Show documentation
Show all versions of unleash-client-java Show documentation
A client library for Unleash
The newest version!
package io.getunleash.repository;
import static java.util.Collections.emptyList;
import static java.util.Collections.singletonList;
import com.google.gson.*;
import com.google.gson.reflect.TypeToken;
import io.getunleash.ActivationStrategy;
import io.getunleash.FeatureToggle;
import io.getunleash.lang.Nullable;
import java.lang.reflect.Type;
import java.util.*;
@Deprecated()
public class JsonToggleCollectionDeserializer implements JsonDeserializer {
private static final Type PARAMS_TYPE = new TypeToken