io.getunleash.repository.JsonFeaturesDeserializer 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
package io.getunleash.repository;
import com.google.gson.*;
import com.google.gson.reflect.TypeToken;
import io.getunleash.FeatureToggle;
import io.getunleash.Segment;
import io.getunleash.lang.Nullable;
import java.lang.reflect.Type;
import java.util.Collection;
import java.util.Map;
public class JsonFeaturesDeserializer implements JsonDeserializer {
private static final Type PARAMS_TYPE = new TypeToken