Open duxbuse opened 2 years ago
Hi @duxbuse ,
Interesting. I have actually been thinking about supporting dumping/loading pydantic
models. Right now, it is not supported though.
I would appreciate it, my whole purpose of using jsons is to dump out data classes
why is this still not support?
For some reason I cant seem to get a json dump for a pydantic baseModel class object
eg:
OUTPUT
SerializationError: object of type 'abc' has no len()
EXPECTED The object should serialise fine.
This is using
jsons-1.6.3
andpydantic-1.9.1