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
Returns
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
sourceIAssertionSource<JsonElement>pathstringpathExpressionstring
Returns
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
sourceIAssertionSource<string>pathstringexpectedLengthintpathExpressionstringexpectedLengthExpressionstring
Returns
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
sourceIAssertionSource<JsonElement>pathstringexpectedLengthintpathExpressionstringexpectedLengthExpressionstring
Returns
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
Returns
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
sourceIAssertionSource<JsonElement>pathstringpathExpressionstring
Returns
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
sourceIAssertionSource<string>pathstringexpectedKindJsonValueKindpathExpressionstringexpectedKindExpressionstring
Returns
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
sourceIAssertionSource<JsonElement>pathstringexpectedKindJsonValueKindpathExpressionstringexpectedKindExpressionstring
Returns
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
Returns
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
sourceIAssertionSource<JsonElement>pathstringpathExpressionstring
Returns
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
Returns
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
sourceIAssertionSource<JsonElement>pathstringpathExpressionstring