C# Class Newtonsoft.Json.JsonSerializationException

The exception thrown when an error occurs during JSON serialization or deserialization.
Inheritance: Newtonsoft.Json.JsonException
显示文件 Open project: JamesNK/Newtonsoft.Json Class Usage Examples

Public Methods

Method Description
JsonSerializationException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the JsonSerializationException class.

Private Methods

Method Description
Create ( IJsonLineInfo lineInfo, string path, string message, Exception ex ) : JsonSerializationException
Create ( JsonReader reader, string message ) : JsonSerializationException
Create ( JsonReader reader, string message, Exception ex ) : JsonSerializationException

Method Details

JsonSerializationException() public method

Initializes a new instance of the JsonSerializationException class.
The parameter is null. The class name is null or is zero (0).
public JsonSerializationException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The that holds the serialized object data about the exception being thrown.
context System.Runtime.Serialization.StreamingContext The that contains contextual information about the source or destination.
return System