Table of Contents

Class JsonShapeAssertions

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

Methods

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

Generated extension method for HasEmptyJsonArray

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

Parameters

source IAssertionSource<string>
path string
pathExpression string

Returns

String_HasEmptyJsonArray_String_Assertion

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

Generated extension method for HasEmptyJsonArray

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

Parameters

source IAssertionSource<JsonElement>
path string
pathExpression string

Returns

JsonElement_HasEmptyJsonArray_String_Assertion

HasJsonArrayLength(IAssertionSource<string>, string, int, string?, string?)

Generated extension method for HasJsonArrayLength

public static String_HasJsonArrayLength_String_Int_Assertion HasJsonArrayLength(this IAssertionSource<string> source, string path, int expectedLength, string? pathExpression = null, string? expectedLengthExpression = null)

Parameters

source IAssertionSource<string>
path string
expectedLength int
pathExpression string
expectedLengthExpression string

Returns

String_HasJsonArrayLength_String_Int_Assertion

HasJsonArrayLength(IAssertionSource<JsonElement>, string, int, string?, string?)

Generated extension method for HasJsonArrayLength

public static JsonElement_HasJsonArrayLength_String_Int_Assertion HasJsonArrayLength(this IAssertionSource<JsonElement> source, string path, int expectedLength, string? pathExpression = null, string? expectedLengthExpression = null)

Parameters

source IAssertionSource<JsonElement>
path string
expectedLength int
pathExpression string
expectedLengthExpression string

Returns

JsonElement_HasJsonArrayLength_String_Int_Assertion

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

Generated extension method for HasJsonBoolean

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

Parameters

source IAssertionSource<string>
path string
pathExpression string

Returns

String_HasJsonBoolean_String_Assertion

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

Generated extension method for HasJsonBoolean

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

Parameters

source IAssertionSource<JsonElement>
path string
pathExpression string

Returns

JsonElement_HasJsonBoolean_String_Assertion

HasJsonValueKind(IAssertionSource<string>, string, JsonValueKind, string?, string?)

Generated extension method for HasJsonValueKind

public static String_HasJsonValueKind_String_JsonValueKind_Assertion HasJsonValueKind(this IAssertionSource<string> source, string path, JsonValueKind expectedKind, string? pathExpression = null, string? expectedKindExpression = null)

Parameters

source IAssertionSource<string>
path string
expectedKind JsonValueKind
pathExpression string
expectedKindExpression string

Returns

String_HasJsonValueKind_String_JsonValueKind_Assertion

HasJsonValueKind(IAssertionSource<JsonElement>, string, JsonValueKind, string?, string?)

Generated extension method for HasJsonValueKind

public static JsonElement_HasJsonValueKind_String_JsonValueKind_Assertion HasJsonValueKind(this IAssertionSource<JsonElement> source, string path, JsonValueKind expectedKind, string? pathExpression = null, string? expectedKindExpression = null)

Parameters

source IAssertionSource<JsonElement>
path string
expectedKind JsonValueKind
pathExpression string
expectedKindExpression string

Returns

JsonElement_HasJsonValueKind_String_JsonValueKind_Assertion

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

Generated extension method for HasNonEmptyJsonArray

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

Parameters

source IAssertionSource<string>
path string
pathExpression string

Returns

String_HasNonEmptyJsonArray_String_Assertion

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

Generated extension method for HasNonEmptyJsonArray

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

Parameters

source IAssertionSource<JsonElement>
path string
pathExpression string

Returns

JsonElement_HasNonEmptyJsonArray_String_Assertion

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

Generated extension method for HasNonEmptyJsonString

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

Parameters

source IAssertionSource<string>
path string
pathExpression string

Returns

String_HasNonEmptyJsonString_String_Assertion

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

Generated extension method for HasNonEmptyJsonString

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

Parameters

source IAssertionSource<JsonElement>
path string
pathExpression string

Returns

JsonElement_HasNonEmptyJsonString_String_Assertion