// add the underneath code in tsconfig.json, now json file will be imported "resolveJsonModule": true