Class BodyErrorJsonDeserializer

  • All Implemented Interfaces:
    com.google.gson.JsonDeserializer<BodyError>

    public class BodyErrorJsonDeserializer
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<BodyError>
    Serializer of a BodyError that contains a RuntimeException.
    Since:
    2.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BodyError deserialize​(com.google.gson.JsonElement json, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext context)
      • Methods inherited from class java.lang.Object

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

      • BodyErrorJsonDeserializer

        public BodyErrorJsonDeserializer()
    • Method Detail

      • deserialize

        public BodyError deserialize​(com.google.gson.JsonElement json,
                                     java.lang.reflect.Type type,
                                     com.google.gson.JsonDeserializationContext context)
                              throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<BodyError>
        Throws:
        com.google.gson.JsonParseException
        Since:
        2.0.0