A decorator for a regular Format that can add a type hint to the serialised json.
A decorator for a regular Format that can add a type hint to the serialised json. That same type hint is then used again when deserialising.
Create a Format that will find the correct format amongst the passed formats when serialising/deserialising, using the type hint in the TypeFormat.
Create a Format that will find the correct format amongst the passed formats when serialising/deserialising,
using the type hint in the TypeFormat.
The field that holds the type hint will be the value of typeKey
Created by Renato Cavalcanti and Christophe Vanfleteren.