Questions about 'how do I upcast?' arise quite often, as the process is quite complicated.
As such, it would be beneficial to provide code samples of how to upcast a given Event payload from 'version x' to 'version y', both in JsonNode (the JacksonSerializer) and Dom4j Document (the XStreamSerializer).
Questions about 'how do I upcast?' arise quite often, as the process is quite complicated. As such, it would be beneficial to provide code samples of how to upcast a given Event payload from 'version x' to 'version y', both in
JsonNode
(theJacksonSerializer
) and Dom4jDocument
(theXStreamSerializer
).