class JSON::ParseError < StandardError

Raised by JSON.parse on malformed input; the message gives the line and column.

<std:json>:21