Konfigurasi Baca Angular dari JSON
{ "compilerOptions": { "resolveJsonModule": true, "esModuleInterop": true } }
add this to tsconfig.json, then read json by importing like normal module:
import '../assets/test.json'
Wasenshi - Cloudy Cat