Class SpanStatusDeserializerAdapter

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

    @Internal
    public final class SpanStatusDeserializerAdapter
    extends java.lang.Object
    implements com.google.gson.JsonDeserializer<SpanStatus>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable SpanStatus deserialize​(@Nullable com.google.gson.JsonElement json, @NotNull java.lang.reflect.Type typeOfT, @NotNull 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

      • SpanStatusDeserializerAdapter

        public SpanStatusDeserializerAdapter​(@NotNull
                                             @NotNull SentryOptions options)
    • Method Detail

      • deserialize

        @Nullable
        public @Nullable SpanStatus deserialize​(@Nullable
                                                @Nullable com.google.gson.JsonElement json,
                                                @NotNull
                                                @NotNull java.lang.reflect.Type typeOfT,
                                                @NotNull
                                                @NotNull com.google.gson.JsonDeserializationContext context)
                                         throws com.google.gson.JsonParseException
        Specified by:
        deserialize in interface com.google.gson.JsonDeserializer<SpanStatus>
        Throws:
        com.google.gson.JsonParseException