title: Assert that response body is empty list with rest-assured
body: <p>How can I check with rest-assured (2.4.0) if the response json is an empty list? </p>
  
  <p>Given the response <code>[]</code> (with header <code>content-type=application/json</code>) I tried:</p>
  
  <pre><code>.body(Matchers.emptyArray()) // expected: an empty array, actual: []
  .body("/", Matchers.emptyArray()) // invalid expression /
  .body(".", Matchers.emptyArray()) // invalid expression .
  </code></pre>