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?
Asked
Active
Viewed 31 times
1 Answers
0
Since the model objects are pydantic objects, it should be quite easy by just calling object.dict()
.

Juliette Gia
- 126
- 6