Hi! 

I am trying to resolve some json data, whose structure looks like this:

{
  "count": Int,
  "a": List String,
  "b": List String,
  "c": List String
}

So, as you see, one variable has type of Int and all the others have the 
same type, in this example it's a list string.
Because number of "other" variables differs I can't use objectN decoder to 
resolve this. I tried with keyValuePairs
combined with oneOf, but because oneOf takes list as an argument Decoders 
of list value type and value type can't be
combined. 

How should I solve this?

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to