Package io.sentry.adapters
Class ContextsSerializerAdapter
- java.lang.Object
-
- io.sentry.adapters.ContextsSerializerAdapter
-
-
Constructor Summary
Constructors Constructor Description ContextsSerializerAdapter(@NotNull SentryOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable com.google.gson.JsonElement
serialize(@Nullable Contexts src, @NotNull java.lang.reflect.Type typeOfSrc, @NotNull com.google.gson.JsonSerializationContext context)
-
-
-
Constructor Detail
-
ContextsSerializerAdapter
public ContextsSerializerAdapter(@NotNull @NotNull SentryOptions options)
-
-
Method Detail
-
serialize
@Nullable public @Nullable com.google.gson.JsonElement serialize(@Nullable @Nullable Contexts src, @NotNull @NotNull java.lang.reflect.Type typeOfSrc, @NotNull @NotNull com.google.gson.JsonSerializationContext context)
- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<Contexts>
-
-