Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Autoplay
Hide playlist

    Use `map` to transform data while decoding JSON into Elm

    The map function defined for Decoder can be used to perform data transformations while decoding, including changing the type of data. Transforming data while decoding is useful, because decoding is done at the edge of your Elm app, so you can make certain assumptions about the data in your app.

    You must be a Member to view code