UNPKG

@cheap-glitch/jsonast

Version:

A JSON to AST parser which allows error recovery.

4 lines (3 loc) 162 B
import type * as Types from './types'; export * from './types'; export declare function parseJSON<T extends Types.JsonObject | Types.JsonArray>(text: string): T;