title: How to convert the simplest JSON to CSV or Text using jq?
body: <p>My json like this from the command like <code>curl https://sm.ms/api/upload</code>:</p>
  
  <pre><code>{
    "code": "error",
    "msg": "No files were uploaded."
  }
  </code></pre>
  
  <p><strong>Now I want to get a text like this</strong> (all values of this json):</p>
  
  <pre><code>"error", "No files were uploaded."
  </code></pre>
  
  <p>I use the command <code>curl https://sm.ms/api/upload | jq -r .</code> but I can only get the json content. The document seems like not to support this funtion.</p>
  
  <p>I search for the web for a long time but there's nothing helpful, so I hope you can help me and thank you~</p>