UNPKG

flatted

Version:

A super light and fast circular JSON parser.

5 lines (4 loc) 345 B
export function parse(text: string, reviver?: (this: any, key: string, value: any) => any): any; export function stringify(value: any, replacer?: (string | number)[] | ((this: any, key: string, value: any) => any), space?: string | number | undefined): string; export function toJSON(value: any): any; export function fromJSON(value: any): any;