I need to prove $$ \operatorname{J}_{n\,}\left(x\right) = \frac{1}{2\pi}\int_{-\pi}^{\pi} {\rm e}^{-{\rm i}x\sin\left(\theta + in\theta\right)} \hspace{5mm}{\rm d}\theta $$ using something I already proved previously:
$$ {\rm e}^{x\left(t - 1/t\right)/2}\,\,\, = \sum_{n = -\infty}^{\infty} \operatorname{J}_{n}\left(x\right)\,t^{n} $$
I can see that substituting $$ t = {\rm e}^{{\rm i}\theta} $$ will get me $99\,\%$ of the way there, but I can't figure out how to get rid of the infinite sum to have the integral, nor why the sign of the second term in the exponential is positive.
Thanks !.