Table of Contents

Class JsonEquivalenceAssertions

Namespace
TUnit.Assertions.Extensions
Assembly
JsonAssertions.TUnit.dll
public static class JsonEquivalenceAssertions
Inheritance
JsonEquivalenceAssertions
Inherited Members

Methods

IsEquivalentJsonTo(IAssertionSource<string>, string, Action<JsonEquivalenceOptions>?, string?, string?)

Generated extension method for IsEquivalentJsonTo

public static String_IsEquivalentJsonTo_String_ActionJsonEquivalenceOptions_Assertion IsEquivalentJsonTo(this IAssertionSource<string> source, string expected, Action<JsonEquivalenceOptions>? configure, string? expectedExpression = null, string? configureExpression = null)

Parameters

source IAssertionSource<string>
expected string
configure Action<JsonEquivalenceOptions>
expectedExpression string
configureExpression string

Returns

String_IsEquivalentJsonTo_String_ActionJsonEquivalenceOptions_Assertion

IsEquivalentJsonTo(IAssertionSource<string>, string, string?)

Generated extension method for IsEquivalentJsonTo

public static String_IsEquivalentJsonTo_String_Assertion IsEquivalentJsonTo(this IAssertionSource<string> source, string expected, string? expectedExpression = null)

Parameters

source IAssertionSource<string>
expected string
expectedExpression string

Returns

String_IsEquivalentJsonTo_String_Assertion

IsEquivalentJsonTo(IAssertionSource<JsonElement>, string, Action<JsonEquivalenceOptions>?, string?, string?)

Generated extension method for IsEquivalentJsonTo

public static JsonElement_IsEquivalentJsonTo_String_ActionJsonEquivalenceOptions_Assertion IsEquivalentJsonTo(this IAssertionSource<JsonElement> source, string expected, Action<JsonEquivalenceOptions>? configure, string? expectedExpression = null, string? configureExpression = null)

Parameters

source IAssertionSource<JsonElement>
expected string
configure Action<JsonEquivalenceOptions>
expectedExpression string
configureExpression string

Returns

JsonElement_IsEquivalentJsonTo_String_ActionJsonEquivalenceOptions_Assertion

IsEquivalentJsonTo(IAssertionSource<JsonElement>, string, string?)

Generated extension method for IsEquivalentJsonTo

public static JsonElement_IsEquivalentJsonTo_String_Assertion IsEquivalentJsonTo(this IAssertionSource<JsonElement> source, string expected, string? expectedExpression = null)

Parameters

source IAssertionSource<JsonElement>
expected string
expectedExpression string

Returns

JsonElement_IsEquivalentJsonTo_String_Assertion