Uses of Class
org.springframework.test.web.servlet.result.JsonPathResultMatchers
Packages that use JsonPathResultMatchers Package Description org.springframework.test.web.servlet.result Contains built-inResultMatcher
andResultHandler
implementations.Uses of JsonPathResultMatchers in org.springframework.test.web.servlet.result
Methods in org.springframework.test.web.servlet.result that return JsonPathResultMatchers Modifier and Type Method Description static JsonPathResultMatchers
MockMvcResultMatchers. jsonPath(String expression, Object... args)
Access to response body assertions using a JsonPath expression to inspect a specific subset of the body.JsonPathResultMatchers
JsonPathResultMatchers. prefix(String prefix)
Configures the currentJsonPathResultMatchers
instance to verify that the JSON payload is prepended with the given prefix.