Type Any has no subscript members json Swift 3
<p>I have this code:</p>

<pre><code>let subjectAbbreviation = JSON?["data"]??["subject"]??["abbr"] as? String
</code></pre>

<p>Swift 3 complains:</p>

<blockquote>
  <p>Type Any has no subscript members</p>
</blockquote>

<p>How would I unwrap this? I know I can use <code>(JSON as? AnyObject)</code> seems kind of messy though.</p>