How to recognize datetime type when generating model from JSON #2174
Unanswered
joelhjalmarsson
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to generate a pydantic model from a JSON file, not a schema.
Is it possible to create the JSON in such a way that the code generator can recognize that a field should be of type "datetime" in the resulting model?
Beta Was this translation helpful? Give feedback.
All reactions