• Converts JSON to a File.

    Parameters

    • json: any

      JSON to use as source

    • filename: string

      Name to use for file

    • mimeType: string = "application/json"

      MIME type to override blob's MIME type

    Returns File

    File created out of JSON and filename