Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thealistra
· 11mo ago · 0 comments
My point is can you write a json deserializer with this, where allocation of every child is defacto optional, depending on input JSON?
Comments
[–]
fc417fc802
11mo ago
As long as the verifier can be satisfied by wrapping the different results in a common type you should be fine. There has to be some way to appease it in that scenario as otherwise even trivial programs wouldn't be able to pass.