title: In iOS, how do I parse a JSON string into an object
body: <p>I come from Android dev, so sorry if I'm missing obvious iOS concepts here.</p>
  
  <p>I have a JSON feed that looks like:</p>
  
  <p><code>{"directory":[{"id":0,"fName":"...","lName":"...","title":"...","dept":"...","bld":"...","room":"...","email":"...","phone":"..."},{"id":1,"fName":"...","lName":"...","title":"...","dept":"...","bld":"...","room":"...","email":"...","phone":"..."}]}</code></p>
  
  <p>Then, I have a Staff.h and .m with a class with properties to match it (id, fName, lName) ect.</p>
  
  <p>I've been working at this for hours, but I can't seem to parse the JSON string to an array of Staff objects. The end goal is to get them into Core Data, so any advice would be nice.</p>
  
  <p>Tutorials I've read haven't shown how to work with a JSON string in the form of {"directory":[{...}]} I had no problem doing this in my Android app, but I'm out of ideas here for iOS (6) in objective-c.</p>
  
  <p>Thanks for reading.</p>