Package io.getunleash.repository
Class JsonFeaturesDeserializer
- java.lang.Object
-
- io.getunleash.repository.JsonFeaturesDeserializer
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<FeatureCollection>
public class JsonFeaturesDeserializer extends Object implements com.google.gson.JsonDeserializer<FeatureCollection>
-
-
Constructor Summary
Constructors Constructor Description JsonFeaturesDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureCollectiondeserialize(com.google.gson.JsonElement rootElement, Type type, com.google.gson.JsonDeserializationContext context)
-
-
-
Method Detail
-
deserialize
@Nullable public FeatureCollection deserialize(com.google.gson.JsonElement rootElement, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
- Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<FeatureCollection>- Throws:
com.google.gson.JsonParseException
-
-