title: JavaScript json values
body: <p>Using JavaScript; how do I produce this output</p>
  
  <pre><code>cell
  work (123) 456 7890
  </code></pre>
  
  <p>from this valid json</p>
  
  <pre><code>{"phone": [
  {
      "@attributes": {
          "type": "cell",
          "ext": ""
      }
  }, "(123) 456 7890", {
      "@attributes": {
          "type": "work",
          "ext": ""
      }
  }
  ]}
  </code></pre>