I need to support cache upgrade. Therefore, I want to provide custom serialization/desirialization mechanisms that will marshall my objects in JSON format that can be upgraded and not in binary format. Is it possible, are there better alternatives?
Infinispan allows you to specify your custom externalizers: https://docs.jboss.org/author/display/ISPN/Plugging+Infinispan+With+User+Defined+Externalizers