Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFilterJson

Hierarchy

  • IFilterJson

Callable

  • __call(object: any, spacing?: number): string
  • Allows you to convert a JavaScript object into JSON string.

    Parameters

    • object: any

      Any JavaScript object (including arrays and primitive types) to filter.

    • Optional spacing: number

      The number of spaces to use per indentation, defaults to 2.

    Returns string

    JSON string.

Generated using TypeDoc