Package io.getunleash.repository
Class JsonFeatureSerializer
java.lang.Object
io.getunleash.repository.JsonFeatureSerializer
- All Implemented Interfaces:
com.google.gson.JsonSerializer<FeatureCollection>
public class JsonFeatureSerializer
extends Object
implements com.google.gson.JsonSerializer<FeatureCollection>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
serialize
(FeatureCollection featureCollection, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
JsonFeatureSerializer
public JsonFeatureSerializer()
-
-
Method Details
-
serialize
public com.google.gson.JsonElement serialize(FeatureCollection featureCollection, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext) - Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<FeatureCollection>
-