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 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 interface com.google.gson.JsonSerializer<FeatureCollection>