title: Query properties of Object
body: <p>What's the Aeson equivalent of the javascript property accessor.</p>
  
  <p>How would you translate the javascript statement <code>x.a.b</code> to Haskell?</p>
  
  <p>As an example, given <code>someObject :: Object</code> containing e.g:</p>
  
  <pre><code>{ a:
    { b:
      [ 1
      , 2
      ]
    }
  }
  </code></pre>
  
  <p>What would the function that returns <code>[1,2]</code> for the above look like.</p>
  
  <p>I've searching around for an answer to this problem and it would appear the answer to this question is "use lenses". I just can't seem to figure out how to do this.</p>