MetadataValueAdapter¶
-
public class
MetadataValueAdapterimplements JsonDeserializer<MetadataValue>¶ Deserializes
MetadataValuecoming from JSON. This metadata values can be both arrays or single strings, hence the parsing here.
Methods¶
deserialize¶
-
public MetadataValue
deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)¶