Curly brace vs Square bracket
<p>I can't figure out what's the difference between Curly brace and Square bracket in Groovy/Grails
Example : </p>

<pre><code>[bookInstanceList:Book.list()]
</code></pre>

<p>and :</p>

<pre><code>{
    subject blank: false
    content blank: false, maxSize: 2000
}  
</code></pre>

<p>can any one help me please?<br>
Thank you</p>