title: Join JSON Object member string values together
body: <pre><code>"category": [{
        "id": 28,
        "name": "Dogs"
    },
    {
        "id": 14,
        "name": "Cats"
    },
    {
        "id": 878,
        "name": "Sheep"
    }],
  </code></pre>
  
  <p>I have the above JSON parsed (using .ajax and jsonp as callback) and I would like to join all the values of "name" into a string. i.e. "Dogs, Cats, Sheep". How can I do this? I have tried simple join on "category" and name, i.e.</p>
  
  <pre><code>var cats = categories.join(", ");
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>var cats = categories.name.join(", ");
  </code></pre>
  
  <p>But since we are looking at it's members and their string values, it doesn't work.</p>