• Loads a file and returns the json object contained in the file The file can be:

    • A json file.
    • A zip file that contains a json file with the same name (if the filename is foo.zip then it should contain a foo.json file)

    Parameters

    • jsonFilePath: string

      JSON filename

    Returns Promise<Object | null>

    A object; or null, if file does not exist or if zip file does not contain a json file with the same name.