Class ConstantRange.Serializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<ConstantRange>, com.google.gson.JsonSerializer<ConstantRange>
    Enclosing class:
    ConstantRange

    public static class ConstantRange.Serializer
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<ConstantRange>, com.google.gson.JsonSerializer<ConstantRange>
    • Constructor Summary

      Constructors 
      Constructor Description
      Serializer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConstantRange deserialize​(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)  
      com.google.gson.JsonElement serialize​(ConstantRange p_serialize_1_, java.lang.reflect.Type p_serialize_2_, com.google.gson.JsonSerializationContext p_serialize_3_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Serializer

        public Serializer()
    • Method Detail

      • deserialize

        public ConstantRange deserialize​(com.google.gson.JsonElement p_deserialize_1_,
                                         java.lang.reflect.Type p_deserialize_2_,
                                         com.google.gson.JsonDeserializationContext p_deserialize_3_)
                                  throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<ConstantRange>
        Throws:
        com.google.gson.JsonParseException
      • serialize

        public com.google.gson.JsonElement serialize​(ConstantRange p_serialize_1_,
                                                     java.lang.reflect.Type p_serialize_2_,
                                                     com.google.gson.JsonSerializationContext p_serialize_3_)
        Specified by:
        serialize in interface com.google.gson.JsonSerializer<ConstantRange>