def _json_serializer(self, obj):
        if isinstance(obj, datetime.datetime) or isinstance(obj, datetime.date):
            return obj.isoformat()
        raise TypeError('Type not serializable')
Returns site-specific profile for this user. Raises
dataset/ETHPy150Open zhongbiaodev/py-mysql-elasticsearch-sync/es_sync/__init__.py/ElasticSync._json_serializer--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/appengine_django/auth/models.py/User.get_profile