parse: (text: string, errors?: ParseError[], options?: ParseOptions) => any

Parses the given text and returns the object the JSON content represents. On invalid input, the parser tries to be as fault tolerant as possible, but still return a result. Therefore, always check the errors list to find out if the input was valid.

Type Declaration