def as_record(self, cls, content_type, strdata):
self.validate_record_type(cls)<EOL>parsedrecord = self.deserialize(content_type, strdata)<EOL>return self.post_process_record(cls, parsedrecord)<EOL>
Returns a record from serialized string representation.

>>> s = teststore()
>>> s.as_record('tstoretest', 'application/json',
... '{"id": "1", "name": "Toto"}')
{u'id': u'1', u'name': u'Toto'}