title: How to convert JSON to Object
body: <p>I defined some custom classes, such as <code>Teacher</code>, <code>Student</code>...
  Now I receive teacher info (JSON string) from remote server.</p>
  
  <p>How can I convert the JSON string to <code>Teacher</code> object.</p>
  
  <p>In Java, it's easy to implement a common method for all class (<code>Teacher</code>, <code>Student</code>...) with <code>reflect</code>.</p>
  
  <p>But in Objective-C on iOS, the best way I can find is to use Entity of Core Data, which has <code>setValue:forKey</code> method. First I convert the JSON string to <code>NSDictionary</code>, the set the key-value pair in the disctionary to the <code>Entry</code>.</p>
  
  <p>Is there any better ways?</p>
  
  <p>(I'm from China, so maybe my English is poor, sorry!)</p>