Sorry if I'm asking something obvious but with changes to Json.Decode in
0.18.0 I'm not quite sure how to pass results of one decoder to another.
So in 0.17.1 it was:
decoder : Json.Decoder SomeType
decoder =
Json.object1 identity
("feildName" := Json.list anotherDecoder)
object1 becomes map, "feildName" := Json.list becomes field "fieldName"
Json.list. Just not sure about anotherDecoder.
Thank you.
--
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.