title: What NGINX autoindex_format JSON(P) response fields/format should I expect?
body: <p>The NGINX <code>ngx-http-autoindex-module</code> supports a <code>autoindex_format</code> directive to change the autoindex response from the default html page to xml, json or jsonp.</p>
  
  <p>The official documentation is extremely brief about the subject and offers no further explanation or rules regarding the JSON(P) response. Also google offers just a handful of relevant search results, none of which provide further insight or even plain examples.</p>
  
  <p>So for json and jsonp, what fields and value-types (or even fixed values) should I expect in the response?<br>
  Are there any other rules I should know about when consuming the response and generating html-output?</p>