Class JsonPathAssertions
java.lang.Object
org.springframework.test.web.reactive.server.JsonPathAssertions
- 
Method SummaryModifier 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.Delegates toJsonPathExpectationsHelper.assertValue(String, 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
- 
valueDelegates toJsonPathExpectationsHelper.assertValue(String, Matcher).- Since:
- 5.1
 
- 
value- Since:
- 6.2
 
- 
valuepublic <T> WebTestClient.BodyContentSpec value(ParameterizedTypeReference<T> targetType, Matcher<? super T> matcher) - Since:
- 6.2
 
- 
valueConsume the result of the JSONPath evaluation.- Since:
- 5.1
 
- 
valueConsume the result of the JSONPath evaluation and provide a target class.- Since:
- 6.2
 
- 
valuepublic <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
 
-