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

Newtonsoft.Json.JsonWriterException

The exception thrown when an error occurs while writing JSON text.
namespace Newtonsoft.Json { public class JsonWriterException : JsonException { public string Path { get; } public JsonWriterException(); public JsonWriterException(string message); public JsonWriterException(string message, Exception innerException); public JsonWriterException(SerializationInfo info, StreamingContext context); public JsonWriterException(string message, string path, Exception innerException); } }