UpdateDeserializationStrategy
Use this object to deserialize objects with type Update. Currently it is restricted to use this DeserializationStrategy only with JSON
See also
Properties
Contains JsonDeserializerStrategy which will be used in deserialize method when standard RawUpdate serializer will be unable to create RawUpdate (and Update as well)
Functions
Adding deserializationStrategy into customDeserializationStrategies for using in case of unknown update
Trying to get JsonElement if decoder is JsonDecoder. Then it will use defaultDeserializeCallback to deserialize data. In case if defaultDeserializeCallback will throw exception it will firstly try to deserialize data by strategies from customDeserializationStrategies and, if no one will return presented data in Optional it will use fallbackDeserialization as last option to deserialize data
Removing deserializationStrategy from customDeserializationStrategies