class JsonException extendsJsonException implementsDecodingExceptionInterface

Thrown by responses' toArray() method when their content cannot be JSON-decoded.