In 3 dimensions, the total angular momentum (for $z$) matrix is given. It generates the rotation matrix around $z$ by $e^{-i\theta J_3/h}.$ My question is how do we actually go about doing this? I know that given the pauli matrices it would be $e^{-i\theta\sigma n/2}=\cos(\theta/2)I+i\sin(\theta/2)\sigma$ for a two dimensional rotation. But this method doesn't work for my aforementioned problem.
I.e. Where $J_z= I\hbar\begin{pmatrix}0&-1&0\\1&0&0\\0&0&0\end{pmatrix}$
I want to show that $e^{-I\theta J_3/\hbar}=\begin{pmatrix}cos(\theta)&-sin(\theta)&0\\sin(\theta)&cos(\theta)&0\\0&0&1\end{pmatrix}$
as I've seen it written in numerous texts but have no idea how it's obtained. I just want the method I don't need it worked out.