title: Convert Dictionary to JSON in Swift
body: <p>I have create the next Dictionary:</p>
  
  <pre><code>var postJSON = [ids[0]:answersArray[0], ids[1]:answersArray[1], ids[2]:answersArray[2]] as Dictionary
  </code></pre>
  
  <p>and I get:</p>
  
  <pre><code>[2: B, 1: A, 3: C]
  </code></pre>
  
  <p>So, how can I convert it to JSON?</p>