title: How to access an element in a JSON array in typescript?
body: <p>[I have a JSON array that contains some values,How can i retrieve the IsDefault value from this array.][1]
  I have tried <code>userDefaultPagePreference[0].Isdefault</code> but i am getting isDefault Undefined</p>
  
  <pre><code> Object
      userDefaultPagePreference : Array(1)
      0 :
      date: "2018-04-17T15:48:42.66"
      defaultUrl: null
      error: []
      id:3
      isDefault:true
      pageName: "ChangeMyAccountSettings"
      userId: "e8dfee00-6224-4a29-851e-7c10343eba9a"
  </code></pre>