Skip to content

Signatures

readJsonFile(path: string, options: JsonReadOptions): T

Reads a JSON file and returns the object the JSON content represents.

Parameters

  • path: string - A path to a file.
  • options: JsonReadOptions - JSON parse options