@ApiStatus.Internal
public final class SentryLevelDeserializerAdapter
extends java.lang.Object
implements com.google.gson.JsonDeserializer<io.sentry.core.SentryLevel>
Constructor and Description |
---|
SentryLevelDeserializerAdapter(@NotNull io.sentry.core.ILogger logger) |
Modifier and Type | Method and Description |
---|---|
io.sentry.core.SentryLevel |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
public SentryLevelDeserializerAdapter(@NotNull @NotNull io.sentry.core.ILogger logger)
public io.sentry.core.SentryLevel deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<io.sentry.core.SentryLevel>
com.google.gson.JsonParseException