<PackageReference Include="Newtonsoft.Json" Version="8.0.2" />

JsonWriterException

The exception thrown when an error occurs while reading JSON text.
public string Path { get; }

Gets the path to the JSON where the error occurred.

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.

Initializes a new instance of the JsonWriterException class.