Class JsonShapeMismatchException

Namespace
ProtoTest.Json
Assembly
ProtoTest.Json.dll
public sealed class JsonShapeMismatchException : ProtoAssertionException, ISerializable
Inheritance
JsonShapeMismatchException
Implements
Inherited Members
Extension Methods

Constructors

JsonShapeMismatchException(IReadOnlyList<JsonShapeMismatch>, IReadOnlyList<string>?)

public JsonShapeMismatchException(IReadOnlyList<JsonShapeMismatch> mismatches, IReadOnlyList<string>? matchedProperties = null)

Parameters

mismatches IReadOnlyList<JsonShapeMismatch>
matchedProperties IReadOnlyList<string>

Properties

MatchedProperties

public IReadOnlyList<string> MatchedProperties { get; }

Property Value

IReadOnlyList<string>

Mismatches

public IReadOnlyList<JsonShapeMismatch> Mismatches { get; }

Property Value

IReadOnlyList<JsonShapeMismatch>