UNPKG

json10

Version:

Handle circural references, comments and many more inside JSON

16 lines 599 B
// @ts-nocheck import { Models } from 'lodash-walk-object/browser'; export type Circ = Models.Circ; export declare class JSON10 { static structureArray(anyJSON: Object, options?: { include?: string[]; exclude?: string[]; }): any[]; static cleaned(json: any, onCircs?: (circs: Circ[]) => any, options?: { exclude?: string[]; include?: string[]; breadthWalk?: boolean; }): any; static stringify(anyJSON: Object, replace?: any, spaces?: number, onCircs?: (circs: Circ[]) => any): string; static parse(json: string, circs?: Circ[]): any; }