I have Object type of Node like:
<Node id=1 labels={'First'} properties={'foo': 'foo', 'bar': 'bar'}>
I have tried to use like:
Response(dumps(res), mimetype="application/json")
But it throws an error:
TypeError: Object of type Node is not JSON serializable
<Node id=1 labels={'First'} properties={'foo': 'foo', 'bar': 'bar'}>
I have tried to use like:
Response(dumps(res), mimetype="application/json")
But it throws an error:
TypeError: Object of type Node is not JSON serializable