This Lesson is for PRO Members.

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


Already subscribed? Sign In

Hide playlist

    Decode Nested JSON Objects into Flat Elm Records

    Your Elm model may mirror the structure of your JSON exactly, but updating nested records in Elm is somewhat tedious, so you may sometimes choose to keep Elm types "flatter" then their JSON counterparts. Using the at decoder you can decode nested JSON values, and use them in the construction of a flat Elm record.

    Please take a moment to tell your friends:

    You must be a PRO Member to view code