Validate your incoming JSON data with Pydantic to make sure it behaves. As a bon...
Juhis @hamatti@mastodon.world
Validate your incoming JSON data with Pydantic to make sure it behaves. As a bonus, you can modify the data at the same time to parse it into a format that's most useful to your program.
https://hamatti.org/posts/j-is-for-json-validation-python-a-to-z/