how to convert this string to json or dictionary in ios
<p>I tired with links but those are not working in my case. </p>

<p>Can anyone suggest me on how to convert this string to json or dictionary. </p>

<p>This string is having a dictionary with an array of strings. </p>

<pre><code>NSString *temp=@"{\n    name =     {\n        dob = \"\";\n        age = \"61\";\n        family =         (\n                        {\n                location = location;\n                mobile = mobile;\n            }\n        );\n    };\n}";
</code></pre>

<p>Here family is an array. </p>