API

Function ReadJsonSourceAsync

  • Reads a JSON source from a string URL, File object, or pre-parsed object.

    Parameters

    • source: string | object | File

      The source to read.

    Returns Promise<unknown>

    A promise resolving to the parsed JSON data.