r/badcode • • Jul 14 '21

python Try/Except in Python - Sigh

Post image
662 Upvotes

93 comments sorted by

View all comments

Show parent comment

2

u/SerdanKK Jul 14 '21

You're right, of course, that the json string has been deserialized. I was thinking of constructing specific classes that match the schema.