Magnetization measurements reveal the local shear stiffness of hydrogels probed by ferromagnetic nanorods