Class JsonPathAssertions
java.lang.Object
org.springframework.test.web.reactive.server.JsonPathAssertions
JsonPath assertions.
- Since:
 - 5.0
 - Author:
 - Rossen Stoyanchev, Stephane Nicoll
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionbooleanexists()inthashCode()isArray()isEmpty()isMap()isNumber()Consume the result of the JSONPath evaluation and provide a target class.Consume the result of the JSONPath evaluation.Deprecated, for removal: This API element is subject to removal in a future version.Delegates toJsonPathExpectationsHelper.assertValue(String, Matcher).Deprecated, for removal: This API element is subject to removal in a future version.in favor ofvalue(Class, Matcher)value(ParameterizedTypeReference<T> targetType, Consumer<T> consumer) Consume the result of the JSONPath evaluation and provide a parameterized type.value(ParameterizedTypeReference<T> targetType, Matcher<? super T> matcher)  
- 
Method Details
- 
isEqualTo
 - 
exists
 - 
doesNotExist
 - 
isEmpty
 - 
isNotEmpty
 - 
hasJsonPath
- Since:
 - 5.0.3
 
 - 
doesNotHaveJsonPath
- Since:
 - 5.0.3
 
 - 
isBoolean
 - 
isNumber
 - 
isArray
 - 
isMap
 - 
value
Delegates toJsonPathExpectationsHelper.assertValue(String, Matcher).- Since:
 - 5.1
 
 - 
value
- Since:
 - 6.2
 
 - 
value
@Deprecated(since="6.2", forRemoval=true) public <T> WebTestClient.BodyContentSpec value(Matcher<? super T> matcher, Class<T> targetType) Deprecated, for removal: This API element is subject to removal in a future version.in favor ofvalue(Class, Matcher)- Since:
 - 5.1
 
 - 
value
public <T> WebTestClient.BodyContentSpec value(ParameterizedTypeReference<T> targetType, Matcher<? super T> matcher) - Since:
 - 6.2
 
 - 
value
Consume the result of the JSONPath evaluation.- Since:
 - 5.1
 
 - 
value
Consume the result of the JSONPath evaluation and provide a target class.- Since:
 - 6.2
 
 - 
value
@Deprecated(since="6.2", forRemoval=true) public <T> WebTestClient.BodyContentSpec value(Consumer<T> consumer, Class<T> targetType) Deprecated, for removal: This API element is subject to removal in a future version.in favor ofvalue(Class, Consumer)Consume the result of the JSONPath evaluation and provide a target class.- Since:
 - 5.1
 
 - 
value
public <T> WebTestClient.BodyContentSpec value(ParameterizedTypeReference<T> targetType, Consumer<T> consumer) Consume the result of the JSONPath evaluation and provide a parameterized type.- Since:
 - 6.2
 
 - 
equals
 - 
hashCode
public int hashCode() 
 - 
 
value(Class, Consumer)