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