parseTree: (
    text: string,
    errors?: ParseError[],
    options?: ParseOptions,
) => Node | undefined

Parses the given text and returns a tree representation the JSON content. On invalid input, the parser tries to be as fault tolerant as possible, but still return a result.

Type Declaration