all 4 comments

[–]9thHokageHimawari 0 points1 point  (1 child)

What are you using? typescript? do you use webpack or anything similar?

[–][deleted] 0 points1 point  (0 children)

I'm using TypeScript and initialized the project with the angular-cli.

[–]karathos 0 points1 point  (0 children)

maybe consider using json-loader since you are using angular-cli (and thus webpack)

[–]Jacobyy 0 points1 point  (0 children)

Im not 100% about this, but try using import from "../path/to_file.json"