def hook(self, obj):
        for key, val in obj.iteritems():
            if isinstance(val, basestring) and (date_re.match(val) \
                or time_re.match(val)):
                try:
                    obj[key] = parse(val)
                except __HOLE__:
                    pass
                else:
                    if time_re.match(val):
                        obj[key] = obj[key].time()
        return obj
dataset/ETHPy150Open flosch/simpleapi/simpleapi/message/sajson.py/SimpleAPIDecoder.hook