Best practice to use localized strings in panel

Was searching, but couldn’t find any example.

I have my language strings in a JSON file and use them in JS without issue, but now I want to add a panel and use same strings there. What’s the way to use same JSON file strings in a panel HTML?