def _dict_to_obj(self, d):
if JsonEncoder.TYPE_ID not in d:<EOL><INDENT>return d<EOL><DEDENT>type_name = d.pop(JsonEncoder.TYPE_ID)<EOL>if type_name in _TYPE_NAME_TO_DECODER:<EOL><INDENT>decoder = _TYPE_NAME_TO_DECODER[type_name]<EOL>return decoder(d)<EOL><DEDENT>else:<EOL><INDENT>raise TypeError("<STR_LIT>", type_name)<EOL><DEDENT>
Converts a dictionary of json object to a Python object.