Extension available here: https://marketplace.visualstudio.com/items?itemName=Almank.json-to-constants&ssr=false#overview
This extension allows you to convert your JSON structure to constant variables in Visual Studio Code. Simply select the full JSON structure, right click and click "Convert JSON to constants" and the constants are added to your clipboard.