Click or drag to resize
Json.NET Schema

ValidationError Class

 
Represents a JSON Schema validation error.
Inheritance Hierarchy
SystemObject
  Newtonsoft.Json.SchemaValidationError

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public class ValidationError : IJsonLineInfo

The ValidationError type exposes the following members.

Constructors
  NameDescription
Public methodValidationError
Initializes a new instance of the ValidationError class
Top
Properties
  NameDescription
Public propertyChildErrors
Gets the ValidationError's child errors.
Public propertyErrorType
Gets the ErrorType that generated the error.
Public propertyLineNumber
Gets the line number indicating where the error occurred.
Public propertyLinePosition
Gets the line position indicating where the error occurred.
Public propertyMessage
Gets the message describing the error that occurred.
Public propertyPath
Gets the path to the JSON where the error occurred.
Public propertySchema
Gets the JSchema that generated the error.
Public propertySchemaBaseUri
Gets the base URI of the JSchema that generated the error.
Public propertySchemaId
Gets the ID of the JSchema that generated the error, relative to the root schema.
Public propertyValue
Gets the JSON value when the error occurred.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also