title: How to get value from an array in vue.js
body: <p>I have an array: </p>
  
  <pre><code>{ "id": 1, 
    "title": "Incidunt facere placeat nulla occaecati voluptatem voluptatem minus.", 
    "categories": [ 
       { "id": 1, 
        "name": "News", 
        "created_at": "2018-04-23 18:05:47", 
        "updated_at": "2018-04-23 18:05:47", 
        "pivot": { 
        "post_id": 1, 
        "category_id": 1 } }, { 
        "id": 2, 
        "name": "Sport", 
        "created_at": "2018-04-23 18:05:47", 
        "updated_at": "2018-04-23 18:05:47", 
        "pivot": { 
          "post_id": 1, 
          "category_id": 2 
          } 
         } 
       ]}
  </code></pre>
  
  <p>I can simply use <code>{{post.title}}</code> to have the post title, but when I do <code>{{post.categories.name}}</code> it returns null because its not an array.</p>
  
  <p>Is there anyway to have category name?</p>