Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FileUtils

Index

Constructors

Methods

Constructors

constructor

Methods

Static saveJsonToFile

  • saveJsonToFile(data: any, path: string): void
  • Create/overwrite a new JSON file saving the inputted data at the specified path location.

    static

    Parameters

    • data: any

      The data to write to file.

    • path: string

      A file descriptor like 'User/documents/new-data.json'.

    Returns void

Generated using TypeDoc