title: Read string json response from server in swift
body: <p>i'm facing a problem on how to read the data response from the server and convert it into json format using swift. Before the response was a bit short and it returned the response as JSON but now after adding extra attributes to it it returns a string.</p>
  
  <p>On swift i tried to read the data response returned but i get an error stating that "failed to read data in bad format".</p>
  
  <p>Here's the server response: </p>
  
  <pre><code>"{
  "status": "VALID_REQUEST",
  "error_message": "",
  "result": [
      "success":"TRUE",
      "response": {
          "data_type": "OBJECT",
          "data":{"username":"man12@example.com"}
      }
    ]
  }"
  </code></pre>