Try using Json.Decode.andThen to decode just the tag, and then with that 
information decide which other decode you want. You will be able to use 
decoders recursively this way because the self-reference will be inside a 
function.

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to