antiated (i.e. called as <code>new User(data)</code>) for each object in the array. If the response returned a single object, that object would be used as the <code>body</code> argument.</p>
<hr>
<h3 id=non-json-responses><a href=#non-json-responses>Non-JSON responses</a></h3>
<p>Sometimes a server endpoint does not return a JSON response: for example, you may be requesting an HTML file, an SVG file, or a CSV file. By default Mithril attempts to parse a response as if it was JSON. To override that behavior,