<PackageReference Include="newtonsoft.json" Version="4.0.1" />

JsonWriterException

The exception thrown when an error occurs while reading Json text.

Initializes a new instance of the JsonWriterException class.

public JsonWriterException(string message)

Initializes a new instance of the JsonWriterException class with a specified error message.

public JsonWriterException(string message, Exception innerException)

Initializes a new instance of the JsonWriterException class with a specified error message and a reference to the inner exception that is the cause of this exception.