DocFX + Singulink = ♥

Class JsonException

Represents errors that occur when accessing JSON data.

Inheritance
object
Exception
JsonException
Implements
ISerializable
_Exception
Inherited Members
Exception.GetBaseException()
Exception.ToString()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.Message
Exception.Data
Exception.InnerException
Exception.TargetSite
Exception.StackTrace
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.MemberwiseClone()
Namespace: SlugBase
Assembly: SlugBase.dll
Syntax
public class JsonException : Exception, ISerializable, _Exception

Constructors

View Source

JsonException(JsonAny)

Initializes a new instance of the JsonException class with a path to the invalid element.

Declaration
public JsonException(JsonAny json)
Parameters
Type Name Description
JsonAny json
View Source

JsonException(string, JsonAny)

Initializes a new instance of the JsonException class with a specified error message and a path to the invalid element.

Declaration
public JsonException(string message, JsonAny json)
Parameters
Type Name Description
string message
JsonAny json
View Source

JsonException(string, Exception, JsonAny)

Initializes a new instance of the JsonException class with a specified error message, a reference to the inner exception that is the cause of this exception, and a path to the invalid element.

Declaration
public JsonException(string message, Exception inner, JsonAny json)
Parameters
Type Name Description
string message
Exception inner
JsonAny json

Properties

View Source

JsonPath

The path to the element that failed to parse, starting from the root object.

Declaration
public string JsonPath { get; set; }
Property Value
Type Description
string

Implements

ISerializable
_Exception