JsonException 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 JsonException : Exception
[<System.Serializable>]
type JsonException = class
inherit Exception
Public Class JsonException
Inherits Exception
- Inheritance
-
JsonException
- Derived
- Attributes
Constructors
| Name | Description |
|---|---|
| JsonException() |
Initializes a new instance of the JsonException class. |
| JsonException(SerializationInfo, StreamingContext) |
Initializes a new instance of the JsonException class. |
| JsonException(String, Exception) |
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. |
| JsonException(String) |
Initializes a new instance of the JsonException class with a specified error message. |