0

I am receiving the object in the API response - Like the below one:

{
    "title": "abc",
    "type": 3,
    "created_at": "2018-10-08T14:04:25",
    "description": "des",
    "data": {
        "response": "[u'9952d1fa', u'ffb1344d', u'a3730337', u'bde08960']"
    }
}

Now I want to parse the response which is in the data key. But the JSON.parse on the response is giving error.

Any idea how to parse this in javascript or should we handle this in the backend (Python-Django)?

I have already checked this link, but there is no solution in Javascript

Varun Chakervarti
  • 1,012
  • 8
  • 24

0 Answers0