UNPKG

fracturedjsonjs

Version:

JSON formatter that produces highly readable but fairly compact output

7 lines (6 loc) 290 B
import { JsonToken } from "./JsonToken"; /** * Converts a sequence of characters into a sequence of JSON tokens. There's no guarantee that the tokens make * sense - just that they're lexically correct. */ export declare function TokenGenerator(inputJson: string): Generator<JsonToken>;