Variable parseTreeConst
Type Declaration
- (text: string, errors?: ParseError[], options?: ParseOptions): Node | undefined
Parameters
- text: string
Optionalerrors: ParseError[]Optionaloptions: ParseOptions
Returns Node | undefined
ConstOptionalerrors: ParseError[]Optionaloptions: 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.