def date_hook(json_dict):
for (key, value) in json_dict.items():<EOL><INDENT>try:<EOL><INDENT>json_dict[key] = datetime.strptime(value, "<STR_LIT>")<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>pass<EOL><DEDENT><DEDENT>return json_dict<EOL>
JSON datetime parser.