public class DownloadRequestSerde extends com.fasterxml.jackson.databind.JsonDeserializer<DownloadRequest>
For most of the time, the serialization has been to "notificationAddresses" and "sendNotification". For a few months in 2018-2019, it was "notification_address" and "send_notification".
The API documentation has previously specified "notification_address" and "sendNotification".
We therefore accept all combinations.
https://github.com/gbif/portal-feedback/issues/2046
Constructor and Description |
---|
DownloadRequestSerde() |
Modifier and Type | Method and Description |
---|---|
DownloadRequest |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
public DownloadRequestSerde()
public DownloadRequest deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
deserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<DownloadRequest>
IOException
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.