A salt of weak acid and weak base undergoes
Salt of a weak acid and weak base undergoes both cationic and anionic hydrolysis.
For example CH3COONH4 is a salt of wek acid and weak base.
Both the radicals are derivative of weak acid and base respectively, so they will both react with water.