Table of Contents

Class JsonPropertyAssertions

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

Methods

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

Generated extension method for DoesNotHaveJsonProperty

public static String_DoesNotHaveJsonProperty_String_Assertion DoesNotHaveJsonProperty(this IAssertionSource<string> source, string path, string? pathExpression = null)

Parameters

source IAssertionSource<string>
path string
pathExpression string

Returns

String_DoesNotHaveJsonProperty_String_Assertion

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

Generated extension method for DoesNotHaveJsonProperty

public static JsonElement_DoesNotHaveJsonProperty_String_Assertion DoesNotHaveJsonProperty(this IAssertionSource<JsonElement> source, string path, string? pathExpression = null)

Parameters

source IAssertionSource<JsonElement>
path string
pathExpression string

Returns

JsonElement_DoesNotHaveJsonProperty_String_Assertion

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

Generated extension method for HasJsonProperty

public static String_HasJsonProperty_String_Assertion HasJsonProperty(this IAssertionSource<string> source, string path, string? pathExpression = null)

Parameters

source IAssertionSource<string>
path string
pathExpression string

Returns

String_HasJsonProperty_String_Assertion

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

Generated extension method for HasJsonProperty

public static JsonElement_HasJsonProperty_String_Assertion HasJsonProperty(this IAssertionSource<JsonElement> source, string path, string? pathExpression = null)

Parameters

source IAssertionSource<JsonElement>
path string
pathExpression string

Returns

JsonElement_HasJsonProperty_String_Assertion