Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ReadJSONOptions

memberof

fsn/nextra

property

{string} [encoding] The file encoding to use while reading

property

{Function} [reviver] The reviver function to pass to JSON.parse()

Hierarchy

  • ReadJSONOptions

Index

Properties

Properties

Optional encoding

encoding: BufferEncoding

Optional flag

flag: string | number

Optional reviver

reviver: (key: any, value: any) => any

Type declaration

    • (key: any, value: any): any
    • Parameters

      • key: any
      • value: any

      Returns any

Generated using TypeDoc