title: Converting a String to Type Object - Python
body: <p>I have created a DataStore, and the type of fields in the data store has been saved in json format.
  Something like</p>
  
  <pre><code>{"SchemaName": "Caztor", "FieldType": {"cain": "&lt;type 'float'&gt;"}}
  </code></pre>
  
  <p>Now when i load the json using json.load , the type of the field cain is being loaded as Unicode. Is there any pre defined methods available in python which can be used to typecast this String to Type object. Ofcourse I can make a function that would handle and solve the problem. But if there is already a solution to this in the python library then it would save a bit of overhead and might be more efficient in handling the problem than I might do.</p>