• Generate and download a JSON file based provided JSON string or Object

    Parameters

    • json: any

      JSON string or JS Object

    • filename: string

      Filename of downloaded file

    Returns void