spring-framework / org.springframework.test.web.servlet.result / JsonPathResultMatchers / isEmpty

isEmpty

open fun isEmpty(): ResultMatcher

Evaluate the JSON path expression against the response content and assert that an empty value exists at the given path.

For the semantics of empty, consult the Javadoc for org.springframework.util.ObjectUtils#isEmpty(Object).

Since
4.2.1

See Also
#isNotEmpty()#exists()#doesNotExist()