| Constructor and Description |
|---|
DurationDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
Duration |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context)
Parses and converts a string, provided in the
JsonElement, from microseconds to Duration. |
@Nullable public Duration deserialize(@Nonnull com.google.gson.JsonElement json, @Nonnull Type typeOfT, @Nonnull com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
JsonElement, from microseconds to Duration.Copyright © 2022 SAP SE. All rights reserved.