title: Groovy Grails handle controller parameters
body: <p>I do an AJAX request from mt front-end with array as parameter. Example of the array:</p>
  
  <pre><code>arr = [13, 56, 43]
  </code></pre>
  
  <p>When in Grails controller I print params I get <code>arr[]:[13, 56, 43]</code>.
  However, when in front-end array consists of only one element (<code>arr = [25]</code>, for instance), then in controller I get <code>arr[]:32</code>. However, I need the parameter to be the list, like <code>arr[]:[32]</code>. How can I do that?</p>