Could not cast value of type '__NSDictionaryM' to 'NSArray"
<p>This is my part of my code:</p>

<pre><code>let quotesData = try NSJSONSerialization.JSONObjectWithData(data!, options: .MutableContainers) as! NSDictionary


var quoteDictionary: [NSDictionary]!
quoteDictionary = quotesData["response"] as! [NSDictionary]
</code></pre>

<p>This is part of the JSON from the Tumblr API:</p>

<pre><code>{
  "meta": {
  "status": 200,
  "msg": "OK"
},
  "response": {
  "blog": {
  "title": "A Sea of Quotes",
  "name": "aseaofquotes",
  "total_posts": 10089,
  "posts": 10089,
  "url": "http://www.aseaofquotes.com/",
  "updated": 1461556819,
  "description": "",
  "is_nsfw": false,
  "ask": true,
  "ask_page_title": "Thanks in advance if you leave a nice message and/or correct quote sources. Please check FAQs before sending. I do not respond to Anonymous questions, but I may answer your anon question in the FAQ. :) Warning: It may take me a while to reply.",
  "ask_anon": true,
  "submission_page_title": "Submit A Quote",
  "share_likes": false
},
"posts": [
  {
    "blog_name": "aseaofquotes",
    "id": 143359277336,
    "post_url": "http://www.aseaofquotes.com/post/143359277336/marlon-james-a-brief-history-of-seven-killings",
    "slug": "marlon-james-a-brief-history-of-seven-killings",
    "type": "photo",
    "date": "2016-04-25 04:00:18 GMT",
    "timestamp": 1461556818,
    "state": "published",
    "format": "html",
    "reblog_key": "YiiqHC46",
</code></pre>

<p>ETC.</p>

<p>This is my error:</p>

<pre><code>Could not cast value of type '__NSDictionaryM' (0x101925d38) to 'NSArray' (0x101925900).
</code></pre>

<p>On this line:</p>

<pre><code>quoteDictionary = quotesData["response"] as! [NSDictionary]
</code></pre>

<p>I don't understand why. I'm pretty new to JSON and iOS but "response" looks like a dictionary to me, I don't know why it's an NSArray, I don't  I don't know how to fix this. Any help would be greatly appreciated.</p>

<p>This is not a duplicate because the other post did not help me solve this problem.</p>