Class DataPointTypeJsonDeserializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<li.pitschmann.knx.core.datapoint.DataPointType>

    public final class DataPointTypeJsonDeserializer
    extends Object
    implements com.google.gson.JsonDeserializer<li.pitschmann.knx.core.datapoint.DataPointType>
    De-Serializes the DataPointType to a JSON format using Gson
    • Method Detail

      • deserialize

        public li.pitschmann.knx.core.datapoint.DataPointType deserialize​(com.google.gson.JsonElement jsonElement,
                                                                          Type type,
                                                                          com.google.gson.JsonDeserializationContext jsonDeserializationContext)
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<li.pitschmann.knx.core.datapoint.DataPointType>