def json_serial(val):

    if isinstance(val, datetime):
        return val.isoformat()

    if isinstance(val, rethinkdb.ast.Now):
        return datetime.now().isoformat()

    return val
Get several objects from this index.
dataset/ETHPy150Open heiskr/sagefy/server/modules/util.py/json_serial--crossover with--dataset/ETHPy150Open algolia/algoliasearch-client-python/algoliasearch/index.py/Index.get_objects