0

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?

GrandMel
  • 157
  • 8

1 Answers1

0

Since the model objects are pydantic objects, it should be quite easy by just calling object.dict().

Juliette Gia
  • 126
  • 6