I want to add custom behaviour for isEmpty method.
When I extends from JsonSerializer
JsonSerializer
I should override
In the end you anyway have to have an implementation for the serialize method, as it is abstract. You couldn't instantiate your class if at least one method is left abstract