Interface JSON

Index

Methods

Methods

public parse(text: string, reviver: (...args: any[]) => any): any

Parameters

  • text: string
  • reviver: (...args: any[]) => any

Returns

any

public stringify(value: any, replacer?: (...args: any[]) => any, space?: number): string

Parameters

  • value: any
  • replacer?: (...args: any[]) => any optional
  • space?: number optional

Returns

string

public stringify(value: any, replacer?: String[], space?: string): string

Parameters

  • value: any
  • replacer?: String[] optional
  • space?: string optional

Returns

string

public stringify(value: any, replacer?: String[], space?: number): string

Parameters

  • value: any
  • replacer?: String[] optional
  • space?: number optional

Returns

string

public stringify(value: any, replacer?: (...args: any[]) => any, space?: string): string

Parameters

  • value: any
  • replacer?: (...args: any[]) => any optional
  • space?: string optional

Returns

string