title: Spring Data Rest Save Iterable Entity
body: <p>I've tried many different ways to pass an array of JSON to a Spring Data Rest Repository, not sure how to do it. I have a custom respository interface that is extending Repository:</p>
  
  <pre><code>@NoRepositoryBean
  interface BaseRepository&lt;T, ID extends Serializable&gt; extends Repository&lt;T, Long&gt; {
  
      T save(T entity)
  
      List&lt;T&gt; save(Iterable&lt;T&gt; entities)
  
  }
  </code></pre>
  
  <p>I can save a single entity, but when I try to pass an array of JSON objects I get an error cannot deserialize instance...</p>
  
  <p>Not sure how to pass the object so that I can do a batch insert.</p>