Show / Hide Table of Contents

Class ValidationError

Class ValidationError represents a JSON Type Definition validation error indicator. It is not a CSharp exception.

Inheritance
System.Object
ValidationError
Namespace: Jtd.Jtd
Assembly: Jtd.Jtd.dll
Syntax
public class ValidationError : object

Properties

| Improve this Doc View Source

InstancePath

Declaration
public IList<string> InstancePath { get; set; }
Property Value
Type Description
IList<System.String>

The path to the part of the instance ("input") that was rejected.

| Improve this Doc View Source

SchemaPath

Declaration
public IList<string> SchemaPath { get; set; }
Property Value
Type Description
IList<System.String>

The path to the part of the schema that rejected the input.

Methods

| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

See Also

Validate(Schema, IJson)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX