Table of Contents

Class JsonSerializationException

Namespace
Newtonsoft.Json
Assembly
Newtonsoft.Json.dll
public class JsonSerializationException : JsonException, ISerializable
Inheritance
JsonSerializationException
Implements
Inherited Members
Extension Methods

Constructors

JsonSerializationException()

public JsonSerializationException()

JsonSerializationException(SerializationInfo, StreamingContext)

public JsonSerializationException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext

JsonSerializationException(string)

public JsonSerializationException(string message)

Parameters

message string

JsonSerializationException(string, Exception)

public JsonSerializationException(string message, Exception innerException)

Parameters

message string
innerException Exception

JsonSerializationException(string, string, int, int, Exception?)

public JsonSerializationException(string message, string path, int lineNumber, int linePosition, Exception? innerException)

Parameters

message string
path string
lineNumber int
linePosition int
innerException Exception

Properties

LineNumber

public int LineNumber { get; }

Property Value

int

LinePosition

public int LinePosition { get; }

Property Value

int

Path

public string? Path { get; }

Property Value

string