Solid Principles, Python.
is polluted with knowledge about JSON serialisation. Think about the complications here, it becomes impossible to move the employee entity to another project without installing the JSON library here. And whenever JSON serialisation becomes obsolete, we need to make changes to the employee class,