how to import a json string from a file in typescript

JavaScript
import {default as a} from "a.json";
a.primaryMain
Source

Also in JavaScript: