Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JSONFile

JSONFile

Utility class to load JSON file(s).

Hierarchy

  • JSONFile

Index

Constructors

Methods

Constructors

constructor

  • new JSONFile(fileName: string): JSONFile
  • Creates a JSONFile object with a specified name.

    param.

    fileName

    Parameters

    • fileName: string

    Returns JSONFile

Methods

parse

  • parse(): JSON
  • Returns a JavaScript object or null if there was an error parsing the file.

    Returns JSON

Generated using TypeDoc