JsonSerializationException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The exception thrown when an error occurs during JSON serialization or deserialization.
[System.Serializable]
public class JsonSerializationException : Microsoft.AnalysisServices.Tabular.Json.JsonException
[<System.Serializable>]
type JsonSerializationException = class
inherit JsonException
Public Class JsonSerializationException
Inherits JsonException
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| JsonSerializationException() |
Initializes a new instance of the JsonSerializationException class. |
| JsonSerializationException(SerializationInfo, StreamingContext) |
Initializes a new instance of the JsonSerializationException class. |
| JsonSerializationException(String, Exception) |
Initializes a new instance of the JsonSerializationException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
| JsonSerializationException(String, String, Int32, Int32, Exception) |
Initializes a new instance of the JsonSerializationException class with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. |
| JsonSerializationException(String) |
Initializes a new instance of the JsonSerializationException class with a specified error message. |
Properties
| Name | Description |
|---|---|
| LineNumber |
Gets the line number indicating where the error occurred. |
| LinePosition |
Gets the line position indicating where the error occurred. |
| Path |
Gets the path to the JSON where the error occurred. |