Class DataPointTypeJsonSerializer

  • All Implemented Interfaces:
    com.google.gson.JsonSerializer<DataPointType<?>>

    public final class DataPointTypeJsonSerializer
    extends Object
    implements com.google.gson.JsonSerializer<DataPointType<?>>
    Serializes the DataPointType to a JSON format using Gson
    • Method Detail

      • serialize

        public com.google.gson.JsonElement serialize​(DataPointType<?> dataPointType,
                                                     Type type,
                                                     com.google.gson.JsonSerializationContext jsonSerializationContext)
        Specified by:
        serialize in interface com.google.gson.JsonSerializer<DataPointType<?>>