Class JsonValueAssertions
- Namespace
- TUnit.Assertions.Extensions
- Assembly
- JsonAssertions.TUnit.dll
public static class JsonValueAssertions
- Inheritance
-
JsonValueAssertions
- Inherited Members
Methods
HasJsonValue(IAssertionSource<string>, string, bool, string?, string?)
Generated extension method for HasJsonValue
public static String_HasJsonValue_String_Bool_Assertion HasJsonValue(this IAssertionSource<string> source, string path, bool expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<string>pathstringexpectedboolpathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<string>, string, double, string?, string?)
Generated extension method for HasJsonValue
public static String_HasJsonValue_String_Double_Assertion HasJsonValue(this IAssertionSource<string> source, string path, double expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<string>pathstringexpecteddoublepathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<string>, string, int, string?, string?)
Generated extension method for HasJsonValue
public static String_HasJsonValue_String_Int_Assertion HasJsonValue(this IAssertionSource<string> source, string path, int expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<string>pathstringexpectedintpathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<string>, string, long, string?, string?)
Generated extension method for HasJsonValue
public static String_HasJsonValue_String_Long_Assertion HasJsonValue(this IAssertionSource<string> source, string path, long expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<string>pathstringexpectedlongpathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<string>, string, string, string?, string?)
Generated extension method for HasJsonValue
public static String_HasJsonValue_String_String_Assertion HasJsonValue(this IAssertionSource<string> source, string path, string expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<string>pathstringexpectedstringpathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<string>, string, uint, string?, string?)
Generated extension method for HasJsonValue
public static String_HasJsonValue_String_UInt32_Assertion HasJsonValue(this IAssertionSource<string> source, string path, uint expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<string>pathstringexpecteduintpathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<string>, string, ulong, string?, string?)
Generated extension method for HasJsonValue
public static String_HasJsonValue_String_UInt64_Assertion HasJsonValue(this IAssertionSource<string> source, string path, ulong expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<string>pathstringexpectedulongpathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<JsonElement>, string, bool, string?, string?)
Generated extension method for HasJsonValue
public static JsonElement_HasJsonValue_String_Bool_Assertion HasJsonValue(this IAssertionSource<JsonElement> source, string path, bool expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringexpectedboolpathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<JsonElement>, string, double, string?, string?)
Generated extension method for HasJsonValue
public static JsonElement_HasJsonValue_String_Double_Assertion HasJsonValue(this IAssertionSource<JsonElement> source, string path, double expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringexpecteddoublepathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<JsonElement>, string, int, string?, string?)
Generated extension method for HasJsonValue
public static JsonElement_HasJsonValue_String_Int_Assertion HasJsonValue(this IAssertionSource<JsonElement> source, string path, int expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringexpectedintpathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<JsonElement>, string, long, string?, string?)
Generated extension method for HasJsonValue
public static JsonElement_HasJsonValue_String_Long_Assertion HasJsonValue(this IAssertionSource<JsonElement> source, string path, long expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringexpectedlongpathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<JsonElement>, string, string, string?, string?)
Generated extension method for HasJsonValue
public static JsonElement_HasJsonValue_String_String_Assertion HasJsonValue(this IAssertionSource<JsonElement> source, string path, string expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringexpectedstringpathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<JsonElement>, string, uint, string?, string?)
Generated extension method for HasJsonValue
public static JsonElement_HasJsonValue_String_UInt32_Assertion HasJsonValue(this IAssertionSource<JsonElement> source, string path, uint expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringexpecteduintpathExpressionstringexpectedExpressionstring
Returns
HasJsonValue(IAssertionSource<JsonElement>, string, ulong, string?, string?)
Generated extension method for HasJsonValue
public static JsonElement_HasJsonValue_String_UInt64_Assertion HasJsonValue(this IAssertionSource<JsonElement> source, string path, ulong expected, string? pathExpression = null, string? expectedExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringexpectedulongpathExpressionstringexpectedExpressionstring
Returns
HasJsonValueMatching(IAssertionSource<string>, string, Func<JsonElement, bool>, string?, string?)
Generated extension method for HasJsonValueMatching
public static String_HasJsonValueMatching_String_FuncJsonElementBool_Assertion HasJsonValueMatching(this IAssertionSource<string> source, string path, Func<JsonElement, bool> predicate, string? pathExpression = null, string? predicateExpression = null)
Parameters
sourceIAssertionSource<string>pathstringpredicateFunc<JsonElement, bool>pathExpressionstringpredicateExpressionstring
Returns
HasJsonValueMatching(IAssertionSource<JsonElement>, string, Func<JsonElement, bool>, string?, string?)
Generated extension method for HasJsonValueMatching
public static JsonElement_HasJsonValueMatching_String_FuncJsonElementBool_Assertion HasJsonValueMatching(this IAssertionSource<JsonElement> source, string path, Func<JsonElement, bool> predicate, string? pathExpression = null, string? predicateExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringpredicateFunc<JsonElement, bool>pathExpressionstringpredicateExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<string>, string, double[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static String_HasJsonValueOneOf_String_DoubleArray_Assertion HasJsonValueOneOf(this IAssertionSource<string> source, string path, double[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<string>pathstringcandidatesdouble[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<string>, string, int[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static String_HasJsonValueOneOf_String_IntArray_Assertion HasJsonValueOneOf(this IAssertionSource<string> source, string path, int[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<string>pathstringcandidatesint[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<string>, string, long[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static String_HasJsonValueOneOf_String_LongArray_Assertion HasJsonValueOneOf(this IAssertionSource<string> source, string path, long[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<string>pathstringcandidateslong[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<string>, string, string[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static String_HasJsonValueOneOf_String_StringArray_Assertion HasJsonValueOneOf(this IAssertionSource<string> source, string path, string[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<string>pathstringcandidatesstring[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<string>, string, uint[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static String_HasJsonValueOneOf_String_UInt32Array_Assertion HasJsonValueOneOf(this IAssertionSource<string> source, string path, uint[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<string>pathstringcandidatesuint[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<string>, string, ulong[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static String_HasJsonValueOneOf_String_UInt64Array_Assertion HasJsonValueOneOf(this IAssertionSource<string> source, string path, ulong[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<string>pathstringcandidatesulong[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<JsonElement>, string, double[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static JsonElement_HasJsonValueOneOf_String_DoubleArray_Assertion HasJsonValueOneOf(this IAssertionSource<JsonElement> source, string path, double[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringcandidatesdouble[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<JsonElement>, string, int[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static JsonElement_HasJsonValueOneOf_String_IntArray_Assertion HasJsonValueOneOf(this IAssertionSource<JsonElement> source, string path, int[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringcandidatesint[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<JsonElement>, string, long[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static JsonElement_HasJsonValueOneOf_String_LongArray_Assertion HasJsonValueOneOf(this IAssertionSource<JsonElement> source, string path, long[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringcandidateslong[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<JsonElement>, string, string[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static JsonElement_HasJsonValueOneOf_String_StringArray_Assertion HasJsonValueOneOf(this IAssertionSource<JsonElement> source, string path, string[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringcandidatesstring[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<JsonElement>, string, uint[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static JsonElement_HasJsonValueOneOf_String_UInt32Array_Assertion HasJsonValueOneOf(this IAssertionSource<JsonElement> source, string path, uint[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringcandidatesuint[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueOneOf(IAssertionSource<JsonElement>, string, ulong[], string?, string?)
Generated extension method for HasJsonValueOneOf
public static JsonElement_HasJsonValueOneOf_String_UInt64Array_Assertion HasJsonValueOneOf(this IAssertionSource<JsonElement> source, string path, ulong[] candidates, string? pathExpression = null, string? candidatesExpression = null)
Parameters
sourceIAssertionSource<JsonElement>pathstringcandidatesulong[]pathExpressionstringcandidatesExpressionstring
Returns
HasJsonValueParsableAs<T>(IAssertionSource<string>, string, string?)
Generated extension method for HasJsonValueParsableAs
[UnconditionalSuppressMessage("Trimming", "IL2091", Justification = "Generic type parameter is only used for property access, not instantiation")]
public static String_HasJsonValueParsableAs_String_Assertion<T> HasJsonValueParsableAs<T>(this IAssertionSource<string> source, string path, string? pathExpression = null) where T : IParsable<T>
Parameters
Returns
Type Parameters
T
HasJsonValueParsableAs<T>(IAssertionSource<JsonElement>, string, string?)
Generated extension method for HasJsonValueParsableAs
[UnconditionalSuppressMessage("Trimming", "IL2091", Justification = "Generic type parameter is only used for property access, not instantiation")]
public static JsonElement_HasJsonValueParsableAs_String_Assertion<T> HasJsonValueParsableAs<T>(this IAssertionSource<JsonElement> source, string path, string? pathExpression = null) where T : IParsable<T>
Parameters
sourceIAssertionSource<JsonElement>pathstringpathExpressionstring
Returns
Type Parameters
T