I'll try to explain better :
when constructor "a" is called , and the boolean static var set to "true". Elsewhere with the constructor "b".
Differents objects are created in the 2 constructor , so I had to implement my custom ser/deser methods. Their behaviour depends on the flag set...
I'll try right now with the boolean flag without the static identifier...