Class JsonSyntaxException
Thrown when an input string contains a syntax error while parsing a JsonObject, JsonArray, or JsonValue.
Inheritance
System.Object
System.Exception
JsonSyntaxException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Manatee.Json
Assembly: Manatee.Json.dll
Syntax
public class JsonSyntaxException : Exception, ISerializable
Properties
| Improve this Doc View SourceLocation
Gets a JSON Pointer to the location at which the error was found.
Declaration
public JsonPointer Location { get; }
Property Value
Type | Description |
---|---|
JsonPointer |
Message
Gets a message that describes the current exception.
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
System.String | The error message that explains the reason for the exception, or an empty string(""). |
Overrides
System.Exception.Message
|
Improve this Doc
View Source
SourceData
Gets the JSON source string.
Declaration
public string? SourceData { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
Implements
System.Runtime.Serialization.ISerializable