Class JsonShapeMismatch
public sealed record JsonShapeMismatch : IEquatable<JsonShapeMismatch>
- Inheritance
-
JsonShapeMismatch
- Implements
- Inherited Members
- Extension Methods
Constructors
JsonShapeMismatch(string, string, object?, object?)
public JsonShapeMismatch(string PropertyPath, string Reason, object? Expected, object? Actual)
Parameters
Properties
Actual
public object? Actual { get; init; }
Property Value
Expected
public object? Expected { get; init; }
Property Value
PropertyPath
public string PropertyPath { get; init; }
Property Value
Reason
public string Reason { get; init; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.