Check out example codes for "read json file in typescript". It will help you in understanding the concepts better.

Code Example 1

// data.json:
{
"greeting" : "xin chao Vietnam"
}
// component:
import * as data from 'data.json';
let greeting = data.greeting;
//registering jsonModule in tsconfig.json
"compilerOptions": {
    ....
    "resolveJsonModule": true,
    ....
  },

Code Example 2

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

Learn ReactJs, React Native from akashmittal.com