I want to serialize objects from Python objects to JSON properties. I'm using GQLAlchemy and Memgraph. So the question is, how can I serialize GQLAlchemy model objects to JSON?
Since the model objects are pydantic objects, it should be quite easy by just calling object.dict()
.