But how does the global gson Factory registered works with the annotated class?
Sébastien Tiscar Astasio

The gson factory must be registered in every instance of gson. So the factory must not be static, but the gson instance might be.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.