CallbackCustomizableSerializationStrategy
Parameters
Default way of serialization
Fallback way which will be used in case when defaultSerializeCallback and customSerializationStrategies were unable to serialize data
Properties
Contains JsonSerializerStrategy 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 customSerializationStrategies for using in case of unknown update
Removing deserializationStrategy from customSerializationStrategies
Trying to serialize data by defaultSerializeCallback. If defaultSerializeCallback it will try to use each strategy from customSerializationStrategies until one of them will return true (means, serialized). If there are no any strategy success serialization and defaultSerializeCallback thrown exception will be used fallbackSerialization callback