Constructor and Description |
---|
SpanIdSerializerAdapter(@NotNull SentryOptions options) |
Modifier and Type | Method and Description |
---|---|
@Nullable com.google.gson.JsonElement |
serialize(@Nullable SpanId src,
@NotNull java.lang.reflect.Type typeOfSrc,
@NotNull com.google.gson.JsonSerializationContext context) |
public SpanIdSerializerAdapter(@NotNull @NotNull SentryOptions options)
@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)
serialize
in interface com.google.gson.JsonSerializer<SpanId>