In order to import a JSON file, you need to use “import JSON” initially before the starting of the code. After that the user can use the load () function to load, and open function to open().