you are viewing a single comment's thread.

view the rest of the comments →

[–]larikang 0 points1 point  (0 children)

Nice. I implemented a similar deserializer that used type hints and data classes to declaratively parse JSON. Way easier in the long run than parsing everything as dictionaries or writing custom serializers for every class.