OP here—thanks for all the replies!
Tried the `default=lambda o: o.__dict__` trick and it worked like a charm. Still weird that some attributes vanished, but turns out they were `@property` decorators.
Gonna check out `jsonpickle` and `pydantic` too. Y’all saved me hours of googling.
Cheers!
Tried the `default=lambda o: o.__dict__` trick and it worked like a charm. Still weird that some attributes vanished, but turns out they were `@property` decorators.
Gonna check out `jsonpickle` and `pydantic` too. Y’all saved me hours of googling.
Cheers!
