Namespace ProtoTest.Json

Classes

JsonDiagnosticOptions
JsonDiagnosticSanitizer
JsonDocumentAssertionException
JsonShapeMatcher
JsonShapeMismatch
JsonShapeMismatchException
JsonValue
ProtoShapeAssertion

The one traced shape assertion REST, GraphQL, gRPC and messaging share. It records the assert.json.shape operation with the expected and actual JSON, the matched properties or every mismatch, captures the expected shape when the protocol asks for it, and fails the operation before rethrowing, so the evidence is in the trace even when the test fails.

ProtoShapeAssertionContext

The context of one traced shape assertion: where it records, under which parent, with which extra attributes, and whether the expected shape is captured as an attachment.

Interfaces

IJsonValueMatcher