Function parseTree
- parseTree(text: string, errors?: ParseError[], options?: ParseOptions): Node
Parameters
- text: string
Optional
errors: ParseError[]Optional
options: ParseOptions
Returns Node
Optional
errors: ParseError[]Optional
options: ParseOptions
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.