How can I use json file locally

I downloaded the .json file and put it on locally where my web page is instead of it being located on the lottiefiles site (assets5.lottiefiles.com) but it doesn’t work. Is there a way to have the .json locally?

Thanks,
~peter