title: What java Object would give a similar javascript array in Thymeleaf?
body: <p>I am loading data to morris.js from thymeleaf. The data in morris.js is as shown below</p>
  
  <pre><code>data: [{
                      "period": "Jan",
                      "Users Registered": 16
                  }, {
                      "period": "Feb",
                      "Users Registered": 54
                  }]
  </code></pre>
  
  <p>How can I load this array from a model attribute?</p>
  
  <pre><code>&lt;script type="text/javascript" th:inline="javascript"&gt;
          /*&lt;![CDATA[*/
  
          var theList = [[${usersRegistered}]]
  
          /*]]&gt;*/
  &lt;/script&gt;
  </code></pre>