JsonException
Defines a custom exception object that is thrown when invalid JSON text is encountered, the defined maximum depth is passed, or the JSON text is not compatible with the type of a property on an object.
Gets the zero-based number of bytes read within the current line before the exception.
Gets the zero-based number of lines read before the exception.
Gets The path within the JSON where the exception was encountered.
public JsonException(string message, string path, long? lineNumber, long? bytePositionInLine, Exception innerException)
Creates a new exception object to relay error information to the user that includes a specified inner exception.
Creates a new exception object to relay error information to the user.
Initializes a new instance of the JsonException 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 JsonException class with a specified error message.
public JsonException()
Initializes a new instance of the JsonException class.
Creates a new exception object with serialized data.