How do i parse this JSON string:
[
{"pk": 3,
"model": "alongjs.carmodel",
"fields":
{"car": 2, "name": "city-unlimited"}},
{"pk": 4,
"model": "alongjs.carmodel",
"fields":
{"car": 2, "name": "hill-to-city"}
}
]
I only want to get fields['name']. this is being returned from Django view. I have serialised the query set to json. This is being retuned in ajax response.