title: Select a particular value from a JSON array
body: <p>I have a JSON array containing the following details, I would like to extract the text Alignment value of Right and assign it to a val.</p>
  
  <pre class="lang-js prettyprint-override"><code>"data":[
    {
      "formatType": "text",
      "value": "bgyufcie huis huids hufhsduhfsl hd"
    },
    {
      "formatType": "text size",
      "value": 12
    },
    {
      "formatType": "text alignment",
      "value" : "right"
    }
  ]
  </code></pre>
  
  <p>Any thoughts? </p>