Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
onei
· 7y ago · 0 comments
If you want to convert it to an object, have you tried using dataclasses? I haven't used them much, but last time I tried them they felt much easier than trying to use the native dict/list/str/int/etc. that gets returned by default.
Comments
[–]
falsedan
7y ago
Yeah. It's the custom serialisation & schema/ctor arg validation that makes it clunky.