I have a JSON and I need to get the values of 'pk' and 'cnt' from it:
[{
"ip": "[{"pk": "173.194.44.23",
"model": "link_finder.ip",
"fields": {"cnt": 3}},
{"pk": "173.194.44.24",
"model": "link_finder.ip",
"fields": {"cnt": 3}}]",
"urls": "[{"pk": "http:\\google.com\advanced_search?hl=uk&authuser=0",
"model": "link_finder.url",
"fields": {"cnt": 2}},
{"pk": "http:\\google.com\intl\uk\about.html",
"model": "link_finder.url",
"fields": {"cnt": 2}}]"
}]
I know how to put it in an array, but how do I get, for example, the pk and cnt walues from first and second paragraph ?